10000 [CHORE] Gix husky configuration (#197) · kaicataldo/typescript-eslint@87606b9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 87606b9

Browse files
weirdpatternJamesHenry
authored andcommitted
[CHORE] Gix husky configuration (typescript-eslint#197)
1 parent 84e536b commit 87606b9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/eslint-plugin-typescript/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"format-no-write": "prettier-eslint lib/**/*.js tests/**/*.js --eslint-config-path=.eslintrc --eslint-ignore --prettier-ignore --eslint-path=node_modules/eslint --config=.prettierrc",
1919
"format": "yarn format-no-write --write",
2020
"format-check": "yarn format-no-write --list-different",
21-
"test": "mocha tests --recursive --reporter=dot",
22-
"precommit": "yarn lint && yarn test && yarn docs:check && lint-staged"
21+
"test": "mocha tests --recursive --reporter=dot"
2322
},
2423
"dependencies": {
2524
"requireindex": "~1.2.0",
@@ -47,6 +46,11 @@
4746
"git add"
4847
]
4948
},
49+
"husky": {
50+
"hooks": {
51+
"pre-commit": "yarn lint && yarn test && yarn docs:check && lint-staged"
52+
}
53+
},
5054
"engines": {
5155
"node": ">=6"
5256
},

0 commit comments

Comments
 (0)
0