Created
March 30, 2020 17:23
-
-
Save karthiks/8ddfef34f82622352898bf78c8e3fd08 to your computer and use it in GitHub Desktop.
husky-configuration-sample
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
{ | |
"name": "my_javascript_project", | |
"version": "1.0.0", | |
"description": "my company's bread-earning project", | |
... | |
"scripts": { | |
"lint": "./node_modules/.bin/eslint ./app/**/*.*js* --fix", | |
... | |
}, | |
"husky": { | |
"hooks": { | |
"pre-commit": "npm run lint" | |
} | |
}, | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment