-
-
Notifications
You must be signed in to change notification settings - Fork 334
/
.textlintrc.js
58 lines (58 loc) · 1.13 KB
/
.textlintrc.js
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
module.exports = {
rules: {
'no-start-duplicated-conjunction': {
interval: 2
},
'max-comma': true, // default 4
'no-empty-section': false, // TODO: later
terminology: {},
'period-in-list-item': true,
'no-surrogate-pair': false,
'@textlint-rule/no-unmatched-pair': true,
'max-doc-width': 360,
'unexpanded-acronym': {
ignore_acronyms: [
'JIT',
'AOT',
'UMD',
'NPM',
'CDN',
'URL',
'WIP',
'NOTE',
'DOM',
'XSS',
'HTML',
'TODO',
'API',
'ECMA',
'MEMO',
'YAML',
'JSON5',
'HTTP',
'CLI',
'ICU',
'CSP',
'SFC',
'PHP',
'SSR',
'MIT',
'PNPM'
]
},
'abbr-within-parentheses': true,
'common-misspellings': true,
apostrophe: true,
diacritics: true,
'stop-words': false, // TODO: later
'write-good': false, // TODO: laster
'en-capitalization': {
allowFigures: false,
allowHeading: false,
allowLists: false
}
},
filters: {
comments: true
}
}