aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.husky/commit-msg4
-rw-r--r--commitlint.config.js18
2 files changed, 13 insertions, 9 deletions
diff --git a/.husky/commit-msg b/.husky/commit-msg
new file mode 100644
index 0000000..0bd658f
--- /dev/null
+++ b/.husky/commit-msg
@@ -0,0 +1,4 @@
+#!/bin/sh
+. "$(dirname "$0")/_/husky.sh"
+
+npx --no-install commitlint --edit "$1"
diff --git a/commitlint.config.js b/commitlint.config.js
index d3ca128..dccf9fa 100644
--- a/commitlint.config.js
+++ b/commitlint.config.js
@@ -1,12 +1,12 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
- rules: {
- "scope-enum": [
- 2,
- "always",
- [
- "global",
- ],
- ],
- },
+ // rules: {
+ // "scope-enum": [
+ // 2,
+ // "always",
+ // [
+ // "global",
+ // ],
+ // ],
+ // },
};