Skip to content

Commit

Permalink
Use precommit as "standard --fix"
Browse files Browse the repository at this point in the history
Travis: Remove standard from before_script
  • Loading branch information
nknapp committed Mar 14, 2017
1 parent 5b61da4 commit be39a37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ matrix:
include:
- node_js: "6"
env: STATIC_CHECKS=true
before_script:
- standard
script:
- |
if [ "${STATIC_CHECKS}" = "true" ]; then
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
],
"config": {
"ghooks": {
"pre-commit": "thoughtful precommit && standard"
"pre-commit": "thoughtful precommit && standard --fix"
}
},
"keywords": []
Expand Down

0 comments on commit be39a37

Please sign in to comment.