You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Try to ensure that verbs at the beginning of the description are in the infinitive tense
// 1. Any word at the start of a sentence that ends with "ing" and is 6 or more characters long (e.g. executing, writing) is likely a verb in the gerund
// 2. Any word at the start of a sentence that doesn't end with "us", "ss", or"ys" (e.g. superfluous, success, always) is likely a verb in the present tense
if (yytext.match(/(^[A-Za-z]{3,}ing )|(^[A-Za-z]+[^usy]s )/)) {
yy.error(yylloc, 'TLDR104');
}
This causes the (infinitive) example description Antialias an image...: to be incorrectly rejected.
tldr-lint rejects all example descriptions that start with a verb ending in e.g.
as
:tldr-lint/tldr.l
Lines 155 to 160 in b5c5a7f
This causes the (infinitive) example description
Antialias an image...:
to be incorrectly rejected.See tldr-pages/tldr#12198 (comment)
The text was updated successfully, but these errors were encountered: