Skip to content

Commit b362e3a

Browse files
committed
Suggest (s)
1 parent 2ef63dd commit b362e3a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/actions/spelling/line_forbidden.patterns

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,10 @@
438438
# Should be `regardless, ...` or `regardless of (whether)`
439439
\b[Rr]egardless if you\b
440440

441+
# Should probably be `(s)` if trying to say "word(s)"
442+
# False positive if `/s` is used to mean `per second`
443+
\s[a-z]{2,}[a-rt-z]/s\s(?=[a-oq-z]\w{2}|p[a-df-z]\w|pe[a-qs-z]|per[a-z])
444+
441445
# Should be `self-signed`
442446
\bself signed\b
443447

0 commit comments

Comments
 (0)