-
Notifications
You must be signed in to change notification settings - Fork 97
/
.textlintrc
43 lines (43 loc) · 1.14 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
{
"rules": {
"preset-ja-technical-writing": {
"no-exclamation-question-mark": {
"allowFullWidthExclamation": true,
"allowFullWidthQuestion": true,
},
"no-doubled-joshi": {
"strict": false,
"allow": ["か"], // 助詞のうち「か」は複数回の出現を許す(e.g.: するかどうか)
},
"no-exclamation-question-mark": false
},
"preset-ja-spacing": {
"ja-space-between-half-and-full-width": {
space: "always",
exceptPunctuation: true,
},
"ja-space-around-code": {
"before": true,
"after": true
}
},
"ja-technical-writing/ja-no-mixed-period": {
"allowPeriodMarks": [":"],
},
"ja-technical-writing/max-comma": {
"max": 5
},
"ja-technical-writing/sentence-length": false, //100文字数制限の無効化
"prh": {
"rulePaths" :[
"rules.yml"
]
}
},
"filters": {
"comments": {
"disablingComment": "textlint-disable", // textlint のチェック対象から外す
"enablingComment": "textlint-enable", // textlint のチェックを再開
}
}
}