mirror of
https://github.com/remvze/moodist.git
synced 2025-12-16 16:34:14 +00:00
chore: add Commitlint
This commit is contained in:
parent
3bed00a1ee
commit
50341d19bb
4 changed files with 1884 additions and 1 deletions
3
.commitlintrc.json
Normal file
3
.commitlintrc.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": ["@commitlint/config-conventional"]
|
||||
}
|
||||
4
.husky/commit-msg
Normal file
4
.husky/commit-msg
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
npx commitlint --edit $1
|
||||
1876
package-lock.json
generated
1876
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -24,6 +24,8 @@
|
|||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "17.7.2",
|
||||
"@commitlint/config-conventional": "17.7.0",
|
||||
"@typescript-eslint/eslint-plugin": "6.7.4",
|
||||
"@typescript-eslint/parser": "6.7.4",
|
||||
"astro-eslint-parser": "0.16.0",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue