Skip to content

Commit 1abc4d4

Browse files
committed
Suggest present tense
1 parent 896bf86 commit 1abc4d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/actions/spelling/line_forbidden.patterns

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@
117117
# -- This rule is experimental, if you find it has a high false-positive rate, please let the maintainer know
118118
(?:^|[?!.] )(?:(?![Ff]or example|Currently|In \w)[^()?!;,.])+, a(?:\s+(?!and|to\b)\w+)+?\s+an?\b(?![^.:!]+, (?:and|or)\b)
119119

120+
# Should be present tense
121+
(?<=\bhas to )\w+ed\b
122+
120123
# Should only be `are` or `can`, not both
121124
\b(?:(?:are|can)\s+){2,}\b
122125

0 commit comments

Comments
 (0)