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
Writing a script to run before each commit to automatically:
Run lint:fix to ensure that files are being formatted correctly
Run tests to ensure that behavior of code is validated
Why
Sometimes we forget to run tests or fix linter issues after working on the code, good to have an automated way to do all of this because we are lazy and are eager to work on next task 😄.
How
Using Husky and git hooks (pre-commit) to run script when committing changes
What needs to be done.
Why
How
The text was updated successfully, but these errors were encountered: