From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Fri, 4 Jul 2025 03:29:22 +0000 (-0400) Subject: Refresh check-spelling metadata X-Git-Tag: rec-5.4.0-alpha0~40^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15790%2Fhead;p=thirdparty%2Fpdns.git Refresh check-spelling metadata ... based on https://github.com/check-spelling/spell-check-this/commit/331af7c8daa9a57f32759f32eba72558746a0e77 --- diff --git a/.github/actions/spell-check/line_forbidden.patterns b/.github/actions/spell-check/line_forbidden.patterns index 4c62621748..b2c1efc48e 100644 --- a/.github/actions/spell-check/line_forbidden.patterns +++ b/.github/actions/spell-check/line_forbidden.patterns @@ -52,6 +52,12 @@ # 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` -(?