chore: add Commitlint

This commit is contained in:
MAZE 2023-10-05 16:52:01 +03:30
parent 3bed00a1ee
commit 50341d19bb
4 changed files with 1884 additions and 1 deletions

3
.commitlintrc.json Normal file
View File

@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}

4
.husky/commit-msg Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx commitlint --edit $1

1876
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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",