aboutcode-org / aboutcode-org/scancode-workbench

Husky pre-commit hooks for tests

Open
#601 4 comments 1 reaction 0 assignees View on GitHub
enhancement needs-review
Dominant language
TypeScript
Stars
173
Forks
81
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.