Skip to content

Commit

Permalink
chore: configure pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Dec 22, 2019
1 parent a12a133 commit 9dc8497
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@
"prerelease": "npm run build",
"release": "standard-version"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "npm run lint"
},
"files": [
"bin",
"lib",
Expand Down

0 comments on commit 9dc8497

Please sign in to comment.