Skip to content

Husky pre-commit hooks for testsΒ #601

@OmkarPh

Description

@OmkarPh

Description

Having a pre-commit hook should be beneficial to avoid committing failing-test code

Similar to pre-commit 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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions