diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000..9a6a7a2 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1,24 @@ +export default { + extends: ["@commitlint/config-conventional"], + rules: { + "type-enum": [ + 2, + "always", + [ + "feat", + "fix", + "docs", + "style", + "refactor", + "perf", + "test", + "build", + "ci", + "chore", + "revert", + ], + ], + "subject-case": [0], + "body-max-line-length": [0], + }, +};