Skip to content

Commit

Permalink
Eslint pre-push hook (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
pskelin authored Jun 24, 2019
1 parent ddaf95d commit a80b511
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .githooks/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
#
# To enable this hook, run this command from the root folder of the project
# $ git config core.hooksPath .githooks

# git runs hooks in the root dir
yarn lint

0 comments on commit a80b511

Please sign in to comment.