Skip to content

Commit

Permalink
refactor: migrate husky pre commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMurphy committed Oct 12, 2018
1 parent 518e6a8 commit 8ff24ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"scripts": {
"commit": "commit",
"test": "ava && eslint --ext md,js . && remark *.md -q --no-stdout",
"precommit": "npm test",
"commitlint": "commitlint --from HEAD~1",
"commitlint-travis": "commitlint-travis"
},
Expand Down Expand Up @@ -104,5 +103,10 @@
},
"semanticPrefix": "chore:",
"semanticCommitScope": ""
},
"husky": {
"hooks": {
"pre-commit": "npm test"
}
}
}

0 comments on commit 8ff24ae

Please sign in to comment.