Skip to content

Commit f778e67

Browse files
fixup!: account for optional leading whitespace
per existing `co-authored-by-is-trailer` rule's regex
1 parent f1496de commit f778e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/line-length.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default {
3535
// Skip lines with URLs.
3636
if (/https?:\/\//.test(line)) { continue }
3737
// Skip co-authorship.
38-
if (/^co-authored-by:/i.test(line)) { continue }
38+
if (/^\s*Co-authored-by:/i.test(line)) { continue }
3939

4040
if (line.length > len) {
4141
failed = true

0 commit comments

Comments
 (0)