aboutcode-org / aboutcode-org/scancode-workbench

Husky pre-commit hooks for tests

Aperta
#601 4 commenti 1 reazione 0 assegnatari Vedi su GitHub
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.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.