Linting & Formatting
Last updated
Last updated
Linting and formatting work out of the box in this starter kit. You simply have to edit the configuration files according to your needs, and you're done!
: For linting and enforcing rules.
: For formatting the code.
: To check linting and format staged files.
: Pre-commit hooks to run linting and formatting before every commit.
All the contents/rules of linting are in the .prettierrc.json
file. You can edit that file to add, remove or update any styles.
You can find all the rules you can configure here:
All the contents/rules of linting are in the .eslintrc.json
file. You can edit that file to add, remove or update any styles.
You can find all the rules you can configure here:
ESLint:
Prettier: