-
-
Notifications
You must be signed in to change notification settings - Fork 138
/
AlexJsOptions.ts
45 lines (44 loc) · 989 Bytes
/
AlexJsOptions.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import { Config } from 'alex';
export const AlexJsOptions: {
allowedWords: string[];
alexWhitelist: Config;
} = {
// words we allow even if AlexJS blocks (words are sometimes grouped by we want to be more granular)
allowedWords: ['fellow'],
alexWhitelist: {
profanitySureness: 1,
noBinary: true,
// AlexJS to ignore these grouped words https://github.com/retextjs/retext-equality/blob/main/rules.md
allow: [
'add',
'basically',
'clearly',
'dad-mom',
'daft',
'fellow',
'fellowship',
'gimp',
'hero-heroine',
'host-hostess',
'hostesses-hosts',
'husband-wife',
'jesus',
'king',
'kushi',
'latino',
'long-time-no-see',
'master',
'moan',
'moaning',
'obvious',
'of-course',
'postman-postwoman',
'special',
'superman-superwoman',
'simple',
'just',
'nephew-niece',
'nephews-nieces',
],
},
};