aboutcode-org / aboutcode-org/scancode-workbench
Husky pre-commit hooks for tests
Aperta
enhancement
needs-review
- Lingua principale
- TypeScript
- Stelle
- 173
- Fork
- 81
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Description
Having a pre-commit hook should be beneficial to avoid committing failing-test code
Similar to [pre-commit](https://pre-commit.com/) in python,
We have husky for javascript projects - https://www.npmjs.com/package/husky
Configuration:
With the configuration in place, the pre-commit hooks are setup automatically on `npm install` and run on attempting a commit
No special action is required by the developers
For example:
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.