đź‘•
Next.JS Template with Linter
🔨
Tools:
- NextJS
- Typescript
- ESLint (Code Pattern)
- Prettier (Formatter)
- Husky (Pre-commit)
- Vitest (Unit/Integration Test)
- Cypress (Test E2E)
- Bun
🤺
How to use:
git clone https://github.com/rodrigorvsn/next-boilerplate-bunny.git
bun install
bun dev
bun test
bun test:cov
bun lint
bun cy:run
bun cy:open
🤖
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