forked from plone/training
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.textlintrc
More file actions
99 lines (99 loc) · 2.06 KB
/
.textlintrc
File metadata and controls
99 lines (99 loc) · 2.06 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"plugins": [
"rst"
],
"rules": {
"write-good": {
"so": true,
"thereIs": false,
"cliches": false,
"weasel": false,
"tooWordy": false,
"adverb": false,
"passive": false
},
// "rousseau": {
// "showLevels": [
// "error"
// ],
// "ignoreTypes": [
// "sentence:uppercase",
// "passive",
// "weasel"
// ]
// },
"max-number-of-lines": {
"max" : 999
},
"unexpanded-acronym": {
"ignore_acronyms": [
"AWS",
"CLI",
"NFS",
"BSD",
"SMTP",
"EBS",
"ZEO",
"ZODB",
"API",
"DNS",
"LTS",
"SSH",
"SES",
"YAML",
"JSON",
"URL",
"IAM",
"CPU",
"SPAM",
"TASK",
"RHEL",
"ZMI",
"XML",
"ZCML",
"CMF",
"FSM",
"TODO",
"HTTP",
"TTW",
"LESS",
"CSS",
"HTML",
"PEP",
"DOM"
]
},
"terminology": {
// Load default terms (see terms.json in the repository)
"defaultTerms": false,
// Syntax elements to skip. Overrides the default
"skip": ["Blockquote"],
// List of terms
"terms": [
// Exact spelling including the case
"JavaScript",
"ESLint",
"Sass",
// "Less",
"npm",
"VirtualBox",
"OpsWorks",
"CloudFormation",
// RegExp (case-insensitive) → replacement
["front[- ]end(\\w*)", "frontend$1"],
["back[- ]end(\\w*)", "backend$1"],
["web[- ]?site(s?)", "site$1"],
["hot[- ]key", "hotkey"],
["repo\\b", "repository"],
["CLI tool(s?)", "command line tool$1"],
["build system(s?)", "build tool$1"],
["id['’]?s", "IDs"],
["(\\w+[^.?!]\\)? )webpack", "$1webpack"],
["(\\w+[^.?!]\\)? )internet", "$internet"],
["OS X", "macOS"],
["Mac ?OS", "macOS"],
["React[ .]js", "React"]
]
}
}
}