From 32b0a04968959f5408066f75e15356163981e05a Mon Sep 17 00:00:00 2001 From: Chris Morin Date: Thu, 1 Sep 2022 13:30:58 -0300 Subject: [PATCH] feat: allow the word invalid for clearer error descriptions --- src/config/AlexJsOptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/AlexJsOptions.ts b/src/config/AlexJsOptions.ts index 362940c2..a0629beb 100644 --- a/src/config/AlexJsOptions.ts +++ b/src/config/AlexJsOptions.ts @@ -5,7 +5,7 @@ export const AlexJsOptions: { alexWhitelist: Config; } = { // words we allow even if AlexJS blocks (words are sometimes grouped by we want to be more granular) - allowedWords: ['fellow'], + allowedWords: ['fellow', 'invalid'], alexWhitelist: { profanitySureness: 1, noBinary: true,