-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy path.textlintrc
111 lines (111 loc) · 2.87 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"filters": {
"comments": true,
"allowlist": {
"allow": [
"チェーン",
"一つ一つ",
"もとづ",
"/\\d{4}-\\d{2}-\\d{2}/",
"/===IGNORE===[\\s\\S]*?===/IGNORE===/m"
]
}
},
"rules": {
"spellcheck-tech-word": true,
"preset-ja-spacing": {
"ja-space-between-half-and-full-width": {
"space": "never",
"exceptPunctuation": false,
"lintStyledNode": false
},
"ja-space-around-code": true,
"ja-no-space-between-full-width": true,
"ja-nakaguro-or-halfwidth-space-between-katakana": true,
"ja-no-space-around-parentheses": true,
"ja-space-after-exclamation": false,
"ja-space-after-question": false
},
"preset-ja-technical-writing": {
"arabic-kanji-numbers": true,
"sentence-length": {
"max": 200
},
"max-comma": {
"max": 6
},
"max-ten": {
"max": 6,
"strict": false,
"touten": ["、", ","],
"kuten": ["。", "."]
},
"max-kanji-continuous-len": {
"max": 6,
"allow": ["公開鍵暗号方式", "最大送金手数料", "分散型自律組織", "運転免許証番号", "暗号通貨取引所", "候補者追加画面", "投票者追加画面"]
},
"no-mix-dearu-desumasu": {
"preferInHeader": "",
"preferInBody": "ですます",
"preferInList": "である",
"strict": false
},
"no-double-negative-ja": false,
"no-dropping-the-ra": false,
"no-doubled-conjunctive-particle-ga": false,
"no-doubled-conjunction": true,
"no-nfd": true,
"no-invalid-control-character": true,
"no-zero-width-spaces": true,
"no-exclamation-question-mark": {
"allowHalfWidthExclamation": true,
"allowFullWidthExclamation": true,
"allowHalfWidthQuestion": true,
"allowFullWidthQuestion": true
},
"no-hankaku-kana": true,
"ja-no-weak-phrase": false,
"ja-no-successive-word": true,
"ja-no-abusage": false,
"ja-no-redundant-expression": false,
"ja-unnatural-alphabet": {"allow": ["x", "y", "z", "k", "n", "e", "/[A-Z]/"]},
"no-unmatched-pair": true,
"ja-no-mixed-period": false,
"no-doubled-joshi": {
"min_interval" : 1,
"strict": false,
"allow": [
"か",
"に",
"が",
"と",
"は",
"も",
"で",
"に関する"
],
"separatorCharacters": [
".",
".",
"。",
"?",
"!",
"?",
"!"
],
"commaCharacters": [
"、",
","
]
}
},
"no-mixed-zenkaku-and-hankaku-alphabet": {
"prefer": "半角"
},
"prh": {
"rulePaths": [
"./prh.yml"
]
}
}
}