Skip to content

Commit 463c518

Browse files
committed
chore: husky config
1 parent fcd48c1 commit 463c518

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx --no-install commitlint --edit ""

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx lint-staged

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
},
9898
"lint-staged": {
9999
"*.{js,ts}": "eslint --cache --fix",
100-
"*.{js,ts,md}": "prettier --write"
100+
"*.{js,ts,md}": "prettier --write",
101+
"./lib/rules/*": "eslint-doc-generator"
101102
}
102103
}

0 commit comments

Comments
 (0)