Skip to content

RodrigoRVSN/third-mind

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