diff --git a/.commitlintrc.json b/.commitlintrc.json index 73bb18b..7cfc104 100644 --- a/.commitlintrc.json +++ b/.commitlintrc.json @@ -1,13 +1,43 @@ { - "extends": ["@commitlint/config-conventional"], + "extends": [ + "@commitlint/config-conventional" + ], "rules": { "type-enum": [ 2, "always", - ["feat", "fix", "docs", "style", "refactor", "perf", "test", "chore", "build", "ci", "revert"] + [ + "feat", + "fix", + "docs", + "style", + "refactor", + "perf", + "test", + "chore", + "build", + "ci", + "revert" + ] ], - "subject-case": [0, "always"], - "header-max-length": [1, "always", 100] + "subject-case": [ + 0, + "always" + ], + "header-max-length": [ + 1, + "always", + 100 + ], + "body-max-line-length": [ + 1, + "always", + 200 + ], + "footer-max-line-length": [ + 1, + "always", + 200 + ] } } -