Skip to content

Commit cf9656b

Browse files
committed
chore: fix body lint danger
1 parent 656b031 commit cf9656b

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

Dangerfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ if (!CONVENTIONAL_PATTERN.test(danger.github.pr.title)) {
9797
fail(
9898
`PR title \`${danger.github.pr.title}\` does not follow ` +
9999
'[Conventional Commits](https://www.conventionalcommits.org/) format.\n\n' +
100-
'Expected: `type(scope): description` — e.g. `feat: add reverb section` ' +
101-
'or `fix(tooltip): clamp position on narrow screens`.\n\n' +
102-
'This is required because the PR title becomes the squash-merge commit ' +
103-
'message that **semantic-release** uses to determine the version bump.',
100+
'Expected: `type(scope): description`\n' +
101+
'e.g. `feat: add reverb section` or `fix(tooltip): clamp on narrow screens`\n\n' +
102+
'The PR title becomes the squash-merge commit message that\n' +
103+
'**semantic-release** uses to determine the version bump.',
104104
)
105105
}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737
"commitlint": {
3838
"extends": [
3939
"@commitlint/config-conventional"
40-
]
40+
],
41+
"rules": {
42+
"body-max-line-length": [0]
43+
}
4144
},
4245
"lint-staged": {
4346
"src/js/**/*.js": [

0 commit comments

Comments
 (0)