forked from intlify/vue-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.textlintrc.js
55 lines (55 loc) · 1.08 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
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: [
'UMD',
'NPM',
'CDN',
'URL',
'WIP',
'NOTE',
'DOM',
'XSS',
'HTML',
'TODO',
'API',
'ECMA',
'MEMO',
'YAML',
'JSON5',
'HTTP',
'CLI',
'ICU',
'CSP',
'SFC',
'PHP',
'SSR',
'MIT'
]
},
'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
}
}