]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Refresh check-spelling metadata 15790/head
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 4 Jul 2025 03:29:22 +0000 (23:29 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 4 Jul 2025 13:34:55 +0000 (09:34 -0400)
... based on https://github.com/check-spelling/spell-check-this/commit/331af7c8daa9a57f32759f32eba72558746a0e77

.github/actions/spell-check/line_forbidden.patterns

index 4c62621748364b17d7cde1f9e8f5499d65cf348a..b2c1efc48ef8e48ee32e8625275a64813f019ee2 100644 (file)
 # Should be `a`
 \san (?=(?:[bcdgjklnpqtvwz]|f(?!d\b)|h(?!our|tml|ttp)|m(?!thread)|r(?!code|tf)|s(?!sh|qlite|vg)|x(?!or))[a-z])
 
+# Articles generally shouldn't be used without a noun and a verb
+# - Perhaps you're missing a verb between the noun and the second article.
+# - Or, perhaps you should remove the first verb and treat the intervening word as a verb?
+# - In some cases you should add a `,` between the noun and the second article.
+\s(?:an?|the)\s(?!wh|how\b)[A-Za-z][a-z]+[a-qs-z]\s(?:a(?! lot\b)n?|the)\s
+
 # Should only be one of `a`, `an`, or `the`
 \b(?:(?:an?|the)\s+){2,}\b
 
@@ -66,7 +72,7 @@
 (?i)(?!ABCDEFGHIJKLMNOPQRSTUVWXYZ)ABC[A-Z]{21}YZ
 
 # Should be `an`
-(?<!\b[Ii] )(?<!\.)\bam\b
+(?<!\b[Ii] |\.)\bam\b
 
 # Should be `anymore`
 \bany more[,.]
@@ -471,6 +477,9 @@ socio-economic
 # Should be `there are` or `they are` (or `they're`)
 (?i)\btheir are\b
 
+# Should be `true`
+(?i)(?<![\[\]()])\brue(?:= or false)
+
 # Should be `understand`
 \bunder stand\b