This section lists all essential information to help developers follow the best structural, syntactic, and rule-based practices.
In this project we follow Intermediate Folder Structure.
The command writen in .husky\pre-commit will execute before every commit, triggering: Types Check, Eslint, Prettier.
- Consistent code style and patterns across the team,
- Automatic flagging of ESLint recommended rules practices,
- Code reformatting via Prettier default configuration options and some overwrite values
.prettierrc.
No manual checks are needed. If the source code meets all requirements, the commit will succeed. Otherwise, the commit will be blocked, and you’ll need to resolve the issues before trying again.
To run the tests, use the following command:
npm run testOr if you want details on the coverage:
npm run test:cov