-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.textlintrc
48 lines (48 loc) · 1.54 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
{
"plugins": {
"@textlint/markdown": {
"extensions": [".md"]
}
},
"filters":{
"comments": true
},
"rules": {
"preset-ja-technical-writing": { // 日本語技術書向けプリセット
"ja-no-weak-phrase": false, // 弱い表現(〜思います)の使用を許可
"sentence-length": false, // 100文字数制限の無効化
"max-kanji-continuous-len": false, // 漢字6文字制限の無効化
"no-exclamation-question-mark": false, // !?文字制限を無効化
"ja-no-mixed-period": { // 読点(。)で文が終わるようにする
"allowPeriodMarks": [":", ".", "・", ":", "."],
"allowEmojiAtEnd": true // 末尾の絵文字を許可
},
"max-comma": false, // コンマの連続を許可
"ja-no-successive-word": {
"allowOnomatopee": true,
"allow": ["○", "・", "。", "など", "まあ", "て"]
},
"max-ten": {
"max": 10,
}
},
"preset-ja-spacing": {
"ja-space-between-half-and-full-width": { // 半角文字と全角文字の間に半角スペースを挿入する
"space": "always",
"exceptPunctuation": true
},
"ja-space-around-code": { // インラインコードの前後に半角スペースを入れる
"before": true,
"after": true
}
},
"@proofdict/proofdict": { // 表記揺れを検知する
"dictURL": "https://azu.github.io/proof-dictionary/"
},
"prh": {
"rulePaths": [
"./prh.yaml"
]
}
}
}