You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The text was updated successfully, but these errors were encountered:
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 commitNo special action is required by the developers
For example:
The text was updated successfully, but these errors were encountered: