Last active
June 25, 2021 07:08
-
-
Save sabesansathananthan/8071942c8d5940f473d283a9c0e67e82 to your computer and use it in GitHub Desktop.
Enforce JavaScript Code Quality While Commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"test:staged": "jest --bail --findRelatedTests" | |
}, | |
"lint-staged": { | |
"src/**/*.{js,jsx,ts,tsx}": ["npm run test:staged"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment