Nextify comes with its own set of code style rules:
File | Description |
---|---|
.eslintrc | Editor rules |
.editorconfig | ESLint configuration |
.prettierrc | Prettier configuration |
Before pushing changes make sure you are following the ESLint rules.
npm run lint
If you have errors, you can try to fix them automatically with the command:
npm run lint:fix
To format your code, run the command:
npm run format
To check for type errors, run the command:
npm run type-check