chore(husky): update script

This commit is contained in:
Mauricio Siu
2024-07-20 00:54:01 -06:00
parent 9934dac203
commit 244e1227c4
2 changed files with 4 additions and 29 deletions

View File

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

View File

@@ -174,34 +174,6 @@
]
},
"commitlint": {
"extends": ["@commitlint/config-conventional"],
"rules": {
"type-enum": [
2,
"always",
[
"feat",
"fix",
"docs",
"style",
"refactor",
"test",
"chore",
"perf",
"ci",
"build",
"revert"
]
],
"type-case": [0],
"type-empty": [0],
"scope-case": [0],
"subject-case": [0],
"subject-empty": [0],
"subject-full-stop": [0],
"header-max-length": [0],
"body-leading-blank": [1, "always"],
"footer-leading-blank": [1, "always"]
}
"extends": ["@commitlint/config-conventional"]
}
}