Skip to content

Commit 98ecde7

Browse files
committed
fix: added overriding rule to fix the body-max-line-length constraint by commitlint
This change has been done since this is causing the sync icon workflow to fail when the PR body exceeds 100 characters in length. This is happening because of commitlint/config-conventional's 100 character body line length limit
1 parent 577b63b commit 98ecde7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

commitlint.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import type { UserConfig } from '@commitlint/types';
22

33
const Configuration: UserConfig = {
44
extends: ['@commitlint/config-conventional'],
5+
rules: {
6+
'body-max-line-length': [0, 'always', Number.POSITIVE_INFINITY],
7+
},
58
};
69

710
export default Configuration;

0 commit comments

Comments
 (0)