Skip to content

Commit 4715034

Browse files
committed
chore: fix husky
1 parent 550bd80 commit 4715034

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"test:dev": "run-s test:dev:*",
2323
"test:ci": "run-s test:ci:*",
2424
"test:dev:ava": "ava",
25-
"test:ci:ava": "nyc -r lcovonly -r text -r json ava"
25+
"test:ci:ava": "nyc -r lcovonly -r text -r json ava",
26+
"prepare": "husky install node_modules/@netlify/eslint-config-node/.husky/"
2627
},
2728
"config": {
2829
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{src,test,.github}/**/*.{js,md,html}\" \"*.{js,md,html}\" \".*.{js,md,html}\"",
@@ -31,12 +32,6 @@
3132
"ava": {
3233
"verbose": true
3334
},
34-
"husky": {
35-
"hooks": {
36-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
37-
"pre-push": "npm run format"
38-
}
39-
},
4035
"keywords": [],
4136
"license": "MIT",
4237
"repository": "netlify/netlify-plugin-secrets-manager",

0 commit comments

Comments
 (0)