-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.textlintrc.json
64 lines (64 loc) · 1.63 KB
/
.textlintrc.json
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
{
"plugins": {},
"rules": {
"preset-ja-technical-writing": {
"ja-no-weak-phrase": false,
"no-exclamation-question-mark": false,
"ja-no-successive-word": {
"allow": [
"!",
"!",
"?",
"?",
"毎日",
"など",
"…",
"て",
"そう",
"・"
]
},
"sentence-length": {
"max": 200
},
"max-kanji-continuous-len": false,
"no-double-negative-ja": false,
"no-doubled-joshi": false,
"no-hankaku-kana": false,
"ja-unnatural-alphabet": false,
"max-comma": false,
"no-mix-dearu-desumasu": false,
},
"preset-jtf-style": {
"max": 200,
"ja-no-weak-phrase": false,
"1.2.1.句点(。)と読点(、)": false,
"4.1.3.ピリオド(.)、カンマ(,)": false,
"4.3.2.大かっこ[]": false
}
},
"filters": {
"allowlist": {
"allow": [
".NET",
"github.io",
// 箇条書きやコード前などに文章を挟む場合にエラーが発生しないように
"/[^。]\\n+\\s*-/",
"/[^。]\\n+\\s*```/",
"/[^。]\\n+\\s*>/",
"/[^。]\\n+\\s*\\$\\$/",
// 特殊なmarkdown気法に関しては除外
":::",
"/\\$\\$[\\s\\S]*?\\$\\$/m",
"/\\$.+\\$/",
// 引用の場合は元の文章をそのまま残すため除外
"/^>.+/m",
// <> のルールに引っかかるため除外
"->",
"=>",
// 何故かエラーになるため除外,
"/(https?://[^)].+)/"
]
}
}
}