Skip to content

Commit 5c3390f

Browse files
authored
chore: allow longer lines in commit messages (#241)
1 parent 04926ca commit 5c3390f

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- uses: wagoid/commitlint-github-action@v5
20+
with:
21+
configFile: commitlintrc.json
2022

2123
doc:
2224
name: Build Doc

commitlintrc.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"],
3+
4+
"helpUrl": "https://github.com/conventional-changelog/commitlint/#what-is-commitlint",
5+
6+
"rules": {
7+
"body-max-line-length": [2, "always", 4096]
8+
}
9+
}

0 commit comments

Comments
 (0)