Skip to content

fix README #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2020
Merged

fix README #6

merged 1 commit into from
Apr 16, 2020

Conversation

georgeOsdDev
Copy link
Contributor

@georgeOsdDev georgeOsdDev commented Apr 16, 2020

max = 3 の場合、1文に許可される読点の数は2つとなります。

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}つ以上使用しています`

するのもよいかと思いましたが、
挙動が変わってしまうのでドキュメントを変更しています。

@azu azu merged commit 6ca6a0d into textlint-ja:master Apr 16, 2020
@azu
Copy link
Member

azu commented Apr 16, 2020

ありがとうございます!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants