Skip to content

Commit 8e3d127

Browse files
chore(husky): upgrade dependency and run lint:dts in pre-commit
husky ^3.0.9 → ^4.2.5
1 parent a700efb commit 8e3d127

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.huskyrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

.huskyrc.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"hooks": {
3+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
4+
"pre-commit": "npm run lint:dts && npm run test:coverage && lint-staged"
5+
}
6+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"dtslint": "^2.0.0",
4949
"eslint": "^7.1.0",
5050
"eslint-plugin-prettier": "^3.1.1",
51-
"husky": "^3.0.9",
51+
"husky": "^4.2.5",
5252
"lint-staged": "^10.2.6",
5353
"mocha": "^6.2.2",
5454
"nyc": "^14.1.1",

0 commit comments

Comments
 (0)