apply editor config in before commit hook
Showing
{ | { | ||
"dependencies": { | "dependencies": { | ||
"eclint": "^2.8.1", | |||
"husky": "^1.1.2", | "husky": "^1.1.2", | ||
"lint-staged": "^7.3.0" | "lint-staged": "^7.3.0" | ||
}, | }, | ||
"lint-staged": { | "lint-staged": { | ||
"*": [ | |||
"eclint fix", | |||
"git add" | |||
], | |||
"*.json": [ | "*.json": [ | ||
"python2 ./format-json", | "python2 ./format-json", | ||
"git add" | "git add" | ||
... | ... |
Please register or sign in to comment