Skip to content

RodrigoRVSN/renovaih

Folders and files

NameName
Last commit message
Last commit date

Latest commit

79d4948 Β· Dec 27, 2021

History

5 Commits
Dec 24, 2021
Dec 22, 2021
Dec 25, 2021
Dec 24, 2021
Dec 27, 2021
Dec 25, 2021
Dec 22, 2021
Dec 25, 2021
Dec 25, 2021
Dec 22, 2021
Dec 22, 2021
Dec 25, 2021
Dec 22, 2021
Dec 25, 2021
Dec 22, 2021
Dec 25, 2021
Dec 25, 2021
Dec 25, 2021
Dec 27, 2021
Dec 22, 2021
Dec 25, 2021

Repository files navigation

πŸ‘• Next.JS Template with Linter



πŸ”¨ Tools:

  • NextJS
  • Typescript
  • Axios (Fetching)
  • ESLint (Code Pattern)
  • Prettier (Formatter)
  • Husky (Pre-commit)
  • Jest (Unit/Integration Test)
  • Cypress (Test E2E)

🀺 How to use:

  • git clone https://github.com/RodrigoRVSN/next_ts_boilerplate.git
  • yarn to install dependencies
  • yarn dev to run the app
  • yarn test to run tests
  • yarn lint to run linters
  • yarn cy:run to run cypress in terminal
  • yarn cy:open to run cypress in browser

πŸ€– Auto-formatting on save:

Inside /.vscode/settings.json we set prettier as the default formatter, and also set editor.codeActionsOnSave to run:

  • Lint: "source.fixAll.eslint"
  • Format: "source.fixAll.format"

βœ… Checking standards pre-commit:

Using husky we can check all of our style standards to make sure our git commits are up to par. Check those checks out at .husky/pre-commit