- Vitest + React testing-library
- Sass + CSS modules
- Eslint
- Prettier
- Husky precommits
- Fork this repo
- Clone your fork of this repo
- When working on a new feature create a new branch and work there
- Run
npm installthennpm run devlaunch the project - While working, make frequent commits
- When you're done working on your feature make a PR only to the dev branch (not staging or main)
If you try committing and get an error from Git:
- Ensure you run
npm run lintand fix all errors before trying to commit (husky will prevent you from committing otherwise). - You can run
npm run lint:fixto try to automatically fix the simpler errors. - For easy formatting, you can use the vscode prettier extension to format code on save.