From a986dd6e2dc6e84116f8aa30afbb50554e167c97 Mon Sep 17 00:00:00 2001 From: Denys Dovhan Date: Thu, 26 May 2022 15:35:49 +0300 Subject: [PATCH] build(commitlint): Improve max-lengh rules --- .commitlintrc.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.commitlintrc.json b/.commitlintrc.json index 1522bfe8..8ac3da1c 100644 --- a/.commitlintrc.json +++ b/.commitlintrc.json @@ -1,7 +1,13 @@ { "extends": ["@commitlint/config-conventional"], "rules": { - "subject-case": [2, "always", ["lower-case", "sentence-case"]], - "body-max-line-length": [2, "always", "Infinity"] + "subject-case": [ + 2, + "always", + ["lower-case", "sentence-case", "pascal-case", "start-case"] + ], + "header-max-length": [2, "always", "Infinity"], + "body-max-line-length": [2, "always", "Infinity"], + "footer-max-line-length": [2, "always", "Infinity"] } }