Skip to content

Commit d54d2f2

Browse files
committed
chore(husky): updated the config to match the installed version
1 parent 59800cb commit d54d2f2

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.husky/commit-msg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit $1

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm test

.huskyrc.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"test": "npm-run-all --print-label --parallel lint:*",
1818
"lint:js": "eslint . --cache",
1919
"lint:md": "remark . --frail",
20-
"lint:sensitive": "ban"
20+
"lint:sensitive": "ban",
21+
"prepare": "husky install"
2122
},
2223
"devDependencies": {
2324
"@form8ion/babel-preset": "1.6.74",

0 commit comments

Comments
 (0)