Skip to content

Commit d533829

Browse files
committed
ci(commitlint): fix config
1 parent 0e7d63d commit d533829

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/super-linter.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,4 @@ jobs:
6666
LINTER_RULES_PATH: .
6767
DEFAULT_BRANCH: main
6868
ENFORCE_COMMITLINT_CONFIGURATION_CHECK: true
69-
ENABLE_COMMITLINT_STRICT_MODE: true
7069
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

commitlint.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ const Configuration = {
88
* Any rules defined here will override rules from parent.
99
*/
1010
rules: {
11-
"header-max-length": [1, "always", 100],
12-
"body-max-line-length": [1, "always", 100],
13-
"footer-max-length": [1, "always", 100],
11+
"body-leading-blank": [2, "always"], // warning -> error
12+
"body-max-line-length": [1, "always", 100], // error -> warning
13+
"footer-leading-blank": [2, "always"], // warning -> error
14+
"footer-max-length": [1, "always", 100], // error -> warning
15+
"header-max-length": [1, "always", 100], // error -> warning
1416
},
1517
};
1618

0 commit comments

Comments
 (0)