aboutcode-org / aboutcode-org/scancode-workbench

Husky pre-commit hooks for tests

未關閉
#601 4 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。