aboutcode-org / aboutcode-org/scancode-workbench

Husky pre-commit hooks for tests

Đang mở
#601 4 bình luận 1 reaction 0 người được giao Xem trên GitHub
enhancement needs-review
Ngôn ngữ chính
TypeScript
Star
173
Fork
81
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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:

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.