forked from asciidwango/js-primer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.textlintrc
60 lines (60 loc) · 1.33 KB
/
.textlintrc
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
{
"filters": {
"comments": true,
"whitelist": {
"allow": [
"/{#[a-z.-]*?}/g",
"/{{[a-zA-Z.]*?}}/g",
"と考えるかもしれません"
]
}
},
"rules": {
"@textlint-rule/no-unmatched-pair": true,
"@textlint-rule/require-header-id": true,
// 箇条書きには。を付けない
"period-in-list-item": {
"periodMark": ""
},
"no-js-function-paren": {
"allow": [
"Symbol"
]
},
"preset-ja-technical-writing": {
"sentence-length": {
"max": 90
},
"no-exclamation-question-mark": {
"allowFullWidthQuestion": true
},
"max-kanji-continuous-len": {
"max": 6,
"allow": [
"浮動小数点数",
"排他的論理和",
"文字列演算子",
"厳密等価演算子",
"不等価演算子",
"厳密比較演算子",
"厳密不等価演算子",
"論理積演算子",
"論理和演算子",
"排他的論理和演算子",
"文字列結合演算子"
]
},
"no-invalid-control-character": {
"checkCode": true
}
},
"eslint": {
"configFile": "./config/markdown.eslintrc.js"
},
"prh": {
"rulePaths": [
"prh.yml"
]
}
}
}