From bf71b57cd7387970607b64d38449daca787e09b8 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 3 Jul 2025 23:29:22 -0400 Subject: [PATCH] Refresh check-spelling metadata ... based on https://github.com/check-spelling/spell-check-this/commit/331af7c8daa9a57f32759f32eba72558746a0e77 --- .github/actions/spell-check/line_forbidden.patterns | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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` -(?