Skip to content

Commit f1a9d42

Browse files
committed
chore(husky): migrated to the modern config approach
1 parent 9923d97 commit f1a9d42

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.huskyrc.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"hooks": {
3+
"commit-msg": "commitlint -e",
4+
"pre-commit": "npm test"
5+
}
6+
}

package.json

-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
"test": "npm-run-all --print-label --parallel lint:* --parallel test:*",
2323
"coverage": "nyc run-s test:unit:raw",
2424
"coverage:report": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
25-
"commitmsg": "commitlint -e",
26-
"precommit": "npm test",
2725
"start": "start-storybook --port 6006 --ci",
2826
"build:storybook": "build-storybook --quiet",
2927
"presnapshot": "ANY_SEED=452204917091.8763 run-s build-storybook",

0 commit comments

Comments
 (0)