File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 1
1
# textlint-rule-max-ten [ ![ Build Status] ( https://travis-ci.org/azu/textlint-rule-max-ten.svg?branch=master )] ( https://travis-ci.org/azu/textlint-rule-max-ten )
2
2
3
- [ textlint] ( https://github.com/azu /textlint " textlint ") rule is that limit maximum ten(、) count of sentence.
3
+ [ textlint] ( https://github.com/textlint /textlint " textlint ") rule is that limit maximum ten(、) count of sentence.
4
4
5
5
## Installation
6
6
@@ -22,25 +22,12 @@ Configure `"max"` value of the `.textlintrc` file.
22
22
{
23
23
"rules" : {
24
24
"max-ten" : {
25
- // 1文で利用できる"、"の最大数
26
25
"max" : 3
27
26
}
28
27
}
29
28
}
30
29
```
31
30
32
- ## Example
33
-
34
- > これは、長文の例ですが、読点の数が3つ以上あるので、エラーが報告されます。
35
-
36
- => error 一つの文で"、"を3つ以上使用しています
37
-
38
- > ビスケットの主な材料は(1)小麦粉、(2)牛乳、(3)ショートニング、(4)バター、(5)砂糖である。
39
-
40
- - No error: 名詞同士で囲まれている ` 、 ` はカウントされない
41
- - 設定で ` { strict: true } ` とした場合はこの例外は適応されずエラーとします
42
-
43
-
44
31
## Tests
45
32
46
33
npm test
You can’t perform that action at this time.
0 commit comments