diff --git a/package.json b/package.json index 7e08e4e6..fe567ee7 100644 --- a/package.json +++ b/package.json @@ -174,6 +174,34 @@ ] }, "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"] + } } }