Skip to content

Commit

Permalink
fix husky
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgoli committed Jun 8, 2022
1 parent 38db37b commit 66c10d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@
"type": "git",
"url": "git://github.com/jakubroztocil/rrule.git"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"scripts": {
"build": "yarn lint && tsc && webpack && tsc dist/esm/**/*.d.ts",
"lint": "yarn tslint --project . --fix --config tslint.json",
Expand Down

0 comments on commit 66c10d7

Please sign in to comment.