Skip to content

Commit f1496de

Browse files
fixup!: apply case-insensitive suggestion
Co-authored-by: Michaël Zasso <targos@protonmail.com>
1 parent 37e4e88 commit f1496de

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 (line.startsWith('Co-Authored-By')) { continue }
38+
if (/^co-authored-by:/i.test(line)) { continue }
3939

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

0 commit comments

Comments
 (0)