-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.textlintrc
More file actions
46 lines (46 loc) · 2.28 KB
/
Copy path.textlintrc
File metadata and controls
46 lines (46 loc) · 2.28 KB
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
{
"rules": {
// それぞれのルールのデフォルト値
"preset-japanese": {
// https://github.com/textlint-ja/textlint-rule-max-ten
// 一文で使える"、"の数
"max-ten": {
"max": 3
},
// https://github.com/takahashim/textlint-rule-no-doubled-conjunctive-particle-ga
// 逆接の接続助詞「が」が、同一文中に複数回出現していないかどうか
// e.g.) 今日は早朝から出発したが、定刻には間に合わなかったが、無事会場に到着した。
"no-doubled-conjunctive-particle-ga": true,
// https://github.com/takahashim/textlint-rule-no-doubled-conjunction
// 同じ接続詞が連続して出現していないかどうか
"no-doubled-conjunction": true,
// https://github.com/textlint-ja/textlint-rule-no-double-negative-ja
// 二重否定の検出
"no-double-negative-ja": true,
// https://github.com/textlint-ja/textlint-rule-no-doubled-joshi
// 二重助詞の検出
// 連続して同じ助詞が出た場合のみを検出
"no-doubled-joshi": {
"min_interval": 1
},
// https://github.com/azu/textlint-rule-sentence-length
// 一文の最大の長さ
"sentence-length": {
"max": 100
},
// https://github.com/textlint-ja/textlint-rule-no-dropping-the-ra
// ら抜き言葉を使用しない
"no-dropping-the-ra": true,
// https://github.com/azu/textlint-rule-no-mix-dearu-desumasu
// 文の敬体(ですます調)、常体(である調)のチェック
"no-mix-dearu-desumasu": true,
// https://github.com/azu/textlint-rule-no-nfd
// ホ゜ケット エンシ゛ン
// のような、Mac OS XでPDFやFinderからのコピペで発生する濁点のチェック
"no-nfd": true,
// https://github.com/textlint-rule/textlint-rule-no-invalid-control-character
// 制御文字の検出
"no-invalid-control-character": true
}
}
}