Skip to content

Commit dcb83f6

Browse files
committed
feat: add commit-msg hook
1 parent 97e9c32 commit dcb83f6

File tree

5 files changed

+5569
-2004
lines changed

5 files changed

+5569
-2004
lines changed

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx --no -- commitlint --edit $1

.prettierrc

-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55
"singleQuote": true,
66
"trailingComma": "all",
77
"bracketSpacing": true,
8-
"jsxBracketSameLine": false,
98
"arrowParens": "avoid"
109
}

commitlint.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = { extends: ['@commitlint/config-conventional'] };

0 commit comments

Comments
 (0)