Skip to content

Commit

Permalink
precommit script: run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tchakabam committed Mar 5, 2018
1 parent 5d65f07 commit e3ea0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/precommit
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
npm run lint

git status --porcelain | grep .js$ | awk 'match($1, "M"){print $2}' | xargs ./node_modules/.bin/eslint

0 comments on commit e3ea0a8

Please sign in to comment.