Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

feat: allow the word invalid for clearer error descriptions #751

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/config/AlexJsOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down