We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a38824 commit f87c43cCopy full SHA for f87c43c
README.md
@@ -17,19 +17,30 @@
17
18
### Options
19
20
-```
+`.textlintrc` options.
21
+
22
+```js
23
{
24
"rules": {
25
"no-doubled-joshi": {
- // 出現回数 >= かつ
- "max-count": 2,
26
- // 助詞同士距離 <= ならエラー
27
- "interval-of-tokens" : 2
+ // 助詞のtoken同士の距離が2以下ならエラー
+ "min_interval" : 2
28
}
29
30
31
```
32
33
+- `min_interval` : 助詞の最低間隔値
34
+ - 指定した間隔値以下で同じ助詞が出現した場合エラーが出力されます。
35
36
37
+> 私**は**彼**は**好き
38
39
+この場合の、**は**と**は**の間隔値は1
40
41
+> 彼**の**母は私**の**父と知り合い
42
43
+この場合の、**の**と**の**の間隔値は2
44
45
## Tests
46
0 commit comments