Closed georgeOsdDev closed 4 years ago
max = 3 の場合、1文に許可される読点の数は2つとなります。
max = 3
https://github.com/textlint-ja/textlint-rule-max-ten/blob/master/src/max-ten.js#L94-L97 を
- if (currentTenCount >= maxLen) { + if (currentTenCount > maxLen) {
- `一つの文で"、"を${maxLen}つ以上使用しています` + `一つの文で"、"を${maxLen + 1}つ以上使用しています`
するのもよいかと思いましたが、 挙動が変わってしまうのでドキュメントを変更しています。
ありがとうございます!
max = 3
の場合、1文に許可される読点の数は2つとなります。https://github.com/textlint-ja/textlint-rule-max-ten/blob/master/src/max-ten.js#L94-L97 を
するのもよいかと思いましたが、 挙動が変わってしまうのでドキュメントを変更しています。