aboutcode-org / aboutcode-org/scancode-workbench
Husky pre-commit hooks for tests
未關閉
enhancement
needs-review
- 主要語言
- TypeScript
- 星號
- 173
- 分支
- 81
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### 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:
貢獻指南
評估
這個 Issue 還沒有評估資料。