mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore(husky): update script
This commit is contained in:
@@ -1 +1,4 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
pnpm commitlint --edit $1
|
pnpm commitlint --edit $1
|
||||||
|
|||||||
30
package.json
30
package.json
@@ -174,34 +174,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"commitlint": {
|
"commitlint": {
|
||||||
"extends": ["@commitlint/config-conventional"],
|
"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"]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user