Skip to content

Commit 9dc8497

Browse files
chore: configure pre-commit hook
1 parent a12a133 commit 9dc8497

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
"prerelease": "npm run build",
3232
"release": "standard-version"
3333
},
34+
"husky": {
35+
"hooks": {
36+
"pre-commit": "lint-staged"
37+
}
38+
},
39+
"lint-staged": {
40+
"*.js": "npm run lint"
41+
},
3442
"files": [
3543
"bin",
3644
"lib",

0 commit comments

Comments
 (0)