Skip to content

Commit d780c73

Browse files
committed
Suggest and not/nor
1 parent 8483ba6 commit d780c73

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
@@ -113,6 +113,9 @@
113113
# Should be `a large amount` or `large amounts`
114114
(?<=\bof )large amount(?= of data\b)
115115

116+
# Should be `and not` or `nor`
117+
\band nor\b
118+
116119
# Should be a list `something, a second thing, or a third thing` or `something, a thing to do a thing`
117120
# -- This rule is experimental, if you find it has a high false-positive rate, please let the maintainer know
118121
(?:^|[?!.] )(?:(?![Ff]or example|Currently|In \w)[^()?!;,.])+, a(?:\s+(?!and|to\b)\w+)+?\s+an?\b(?![^.:!]+, (?:and|or)\b)

0 commit comments

Comments
 (0)