From 9ddaf13b96e36233e784435bddce10e0d04dca41 Mon Sep 17 00:00:00 2001 From: Adam Dinwoodie Date: Wed, 23 Nov 2022 14:56:36 +0000 Subject: [PATCH] Ignore usernames when checking spelling Moderators.md lists a number of usernames that are being caught by the spell checker, but clearly are meant to be there. Don't fail the spellcheck because of them. --- .github/actions/spelling/patterns.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/spelling/patterns.txt b/.github/actions/spelling/patterns.txt index 6f5ed30284872..aed21449edc25 100644 --- a/.github/actions/spelling/patterns.txt +++ b/.github/actions/spelling/patterns.txt @@ -20,6 +20,8 @@ [Uu][Rr][Ll] # Ignore groupID's "(_id|groupId)": "[a-zA-Z0-9]{24}" +# Ignore usernames, preceeded by an @ +(\[|\b)@[A-Za-z0-9-]+(\]|\b) # FAQ items \`[A-Z]\`[a-z]{2,}\b