We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55ccdc0 commit d720ddeCopy full SHA for d720dde
internal/lint-configs/commitlint-config/index.mjs
@@ -99,25 +99,7 @@ const userConfig = {
99
* ^^^^^^^^^^^^^^
100
*/
101
'footer-leading-blank': [1, 'always'],
102
- 'footer-max-line-length': [
103
- 2,
104
- 'always',
105
- (parsed) => {
106
- if (parsed.type === 'sync') {
107
- return [true];
108
- }
109
- if (!parsed.footer) {
110
111
112
- // footer按行分割,逐行判断
113
- const lines = parsed.footer.split(/\r?\n/);
114
- const over = lines.find((line) => line.length > 108);
115
- if (over) {
116
- return [false, `footer 单行不能超过 108 个字符`];
117
118
119
- },
120
- ],
+ 'footer-max-line-length': [0],
121
/**
122
* type[scope]: [function] description
123
* ^^^^^
0 commit comments