diff --git a/lib/rules/line-length.js b/lib/rules/line-length.js index 2d5b60c..92aa665 100644 --- a/lib/rules/line-length.js +++ b/lib/rules/line-length.js @@ -29,10 +29,14 @@ export default { let failed = false for (let i = 0; i < parsed.body.length; i++) { const line = parsed.body[i] + // Skip quoted lines, e.g. for original commit messages of V8 backports. if (line.startsWith(' ')) { continue } // Skip lines with URLs. if (/https?:\/\//.test(line)) { continue } + // Skip co-authorship. + if (line.startsWith('Co-Authored-By')) { continue } + if (line.length > len) { failed = true context.report({