Skip to content

Husky pre-commit hooks for tests #601

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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