Skip to content

Commit 00810cd

Browse files
committed
Suggest
1 parent 9dc02df commit 00810cd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/actions/spelling/line_forbidden.patterns

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@
7272
# Should probably have a trailing `.`
7373
\s([a-z]\.){2,}[a-z]\s
7474

75+
# Should probably end with `”`
76+
# Likely bad OCR
77+
“.+[^'‘\\\[]+’'(?!['"])
78+
79+
# Should probably end with `”` or with only one of `’`/`'`
80+
\s\w+[^'‘\\\[]+’'(?!['"])
81+
7582
# Should probably be `YYYYMMDD`
7683
\b[Yy]{4}[Dd]{2}[Mm]{2}(?!.*[Yy]{4}[Dd]{2}[Mm]{2}).*$
7784

@@ -374,6 +381,9 @@ CLoud
374381
# Should be `its`
375382
(?<!since )\bit's(?= data\b)
376383

384+
# Should be `... its`
385+
\w{2}(?<!\b(?:case|fail|mean|perhap|purpose|sometime|unles|ye))s it's\b(?! (?:an?|going|not|own|the|\w+ed)\b)
386+
377387
# Should be `for its` (possessive) or `because it is`
378388
\bfor it(?:'s| is)\b
379389

0 commit comments

Comments
 (0)