Skip to content

Commit

Permalink
Lint staged files on pre-commit hook (#3906)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored and jeddy3 committed Jan 19, 2019
1 parent 127fef7 commit f703624
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -140,7 +140,11 @@
"lint-staged": {
"*.js": [
"prettier --write",
"eslint --max-warnings=0 --fix",
"git add"
],
"*.md": [
"remark --quiet --frail"
]
},
"eslintConfig": {
Expand Down

0 comments on commit f703624

Please sign in to comment.