Last active
September 10, 2018 13:43
-
-
Save joshuacrass/6a6882178313b056b22706bd113fcd32 to your computer and use it in GitHub Desktop.
react-eslint-prettier husky in package.json
This file contains 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
"husky": { | |
"hooks": { | |
"pre-commit": "lint-staged", | |
} | |
}, | |
"lint-staged": { | |
"*.{js,jsx}": [ | |
"eslint" | |
], | |
"*.{js,jsx,json,md}": [ | |
"prettier --list-different" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment