diff --git a/.husky/commit-msg b/.husky/commit-msg index 1a089f4..2ff0624 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npx --no-install commitlint --edit $1 +npx --no-install commitlint --edit $1 \ No newline at end of file diff --git a/commitlint.config.js b/commitlint.config.js index 361b3d3..60f6e9e 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,6 +1,11 @@ module.exports = { - extends: ["@commitlint/config-conventional"], + extends: ['@commitlint/config-conventional'], rules: { - "scope-enum": [2, "always", []], + 'subject-empty': [0], + 'type-empty': [0], + 'type-enum': [0], + 'scope-case': [0], + 'references-empty': [0], + 'subject-full-stop': [0], }, };