Skip to content

Commit 6f0cf05

Browse files
committed
chore: Upgrade husky hooks
1 parent 42fe202 commit 6f0cf05

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"build": "npm-run-all clean:* --parallel build:*",
1515
"format": "eslint src --fix --report-unused-disable-directives",
1616
"lint": "eslint src --report-unused-disable-directives",
17-
"precommit": "lint-staged",
1817
"prebump": "run-s lint test",
1918
"prepublish": "yarn run build",
2019
"release": "standard-version --sign",
@@ -122,5 +121,10 @@
122121
"yarn run eslint --fix",
123122
"git add"
124123
]
124+
},
125+
"husky": {
126+
"hooks": {
127+
"pre-commit": "lint-staged"
128+
}
125129
}
126130
}

0 commit comments

Comments
 (0)