Skip to content
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

Make "end" only case opt-in #1

Open
azu opened this issue Oct 13, 2018 · 1 comment
Open

Make "end" only case opt-in #1

azu opened this issue Oct 13, 2018 · 1 comment
Labels
good first issue Good for newcomers Type: Feature New Feature

Comments

@azu
Copy link
Member

azu commented Oct 13, 2018

Currently, report error for only start case like (
We want to report error for only end case like ).

NG

This is bad (.
This is bad (a].
This is bad ).

Current OK, but it should be error

This is bad ).
            ^ we want to check it

However, some user want to use 1).
So, we need to add new option to allow it as opt-in.
Or, it is just allow to use <number>)

// FIXME: It will be failed
// https://github.com/textlint-rule/textlint-rule-no-unmatched-pair/issues/1
`
1) item 1
2) item 2
3) item 3
`,

@azu azu added Type: Feature New Feature good first issue Good for newcomers labels Oct 13, 2018
@azu
Copy link
Member Author

azu commented Jul 20, 2019

Maybe, It will be optional.

option name is just as well

{
  "checkEndBracket": true
}
1) item 1
2) item 2
3) item 3

I've received example case https://twitter.com/yasu_ja_jp/status/110258063909256397

@azu azu changed the title Support "end" only case Make "end" only case opt-in Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Type: Feature New Feature
Projects
None yet
Development

No branches or pull requests

1 participant