Skip to content

Commit

Permalink
Add pre-commit hook for style
Browse files Browse the repository at this point in the history
  • Loading branch information
eweitz committed Aug 17, 2019
1 parent 7b9cd15 commit ac8813b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"husky": {
"hooks": {
"pre-commit": "./node_modules/.bin/eslint src/ test/ --quiet",
"pre-push": "npm test"
}
},
Expand Down

0 comments on commit ac8813b

Please sign in to comment.