Skip to content

Commit

Permalink
chore(husky): migrated to the modern config approach
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jun 9, 2020
1 parent b82af01 commit 8e4aecb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .huskyrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"hooks": {
"commit-msg": "commitlint -e",
"pre-commit": "npm test"
}
}
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
"serve": "gatsby serve",
"start": "run-s develop",
"snapshot": "npx percy snapshot public/",
"commitmsg": "commitlint -e",
"precommit": "npm test",
"deploy": "run-p --print-label deploy:*",
"deploy:netlify": "netlify deploy --dir=./public --prod"
},
Expand Down

0 comments on commit 8e4aecb

Please sign in to comment.