-
Notifications
You must be signed in to change notification settings - Fork 1
/
.textlintrc.js
40 lines (40 loc) · 936 Bytes
/
.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
module.exports = {
rules: {
'no-todo': true,
'no-start-duplicated-conjunction': {
interval : 2, // interval of sentences
},
'max-comma': {
max : 4,
},
/*'no-dead-link': {
checkRelative: true,
baseURI: null,
ignore: ['http://localhost*'],
preferGET: [],
ignoreRedirects: false,
retry: 3,
userAgent: 'textlint-rule-no-dead-link/1.0',
maxRetryTime: 10,
maxRetryAfterTime: 90
},*/
'no-empty-section': true,
'textlint-rule-no-empty-element': true,
'period-in-list-item': true,
'@textlint-rule/no-unmatched-pair': true,
'no-zero-width-spaces': true,
'doubled-spaces': true,
'common-misspellings': {
// Misspellings to be ignored (case-insensitive)
ignore: [],
},
'write-good': {
passive: false,
thereIs: false
},
'apostrophe': true,
},
filters: {
comments: true,
},
}