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

Bug: Incorrect error location for space-in-parens #4956

Closed
alberto opened this Issue Jan 15, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@alberto
Copy link
Member

alberto commented Jan 15, 2016

space-in-parens error location is wrong. See example:
space-in-parens-wrong-loc

I think error location should always be that of the corresponding paren, both for always and never, to match the error message There (must|should be no) be a space(s) inside this paren.

@alberto alberto self-assigned this Jan 15, 2016

@gyandeeps gyandeeps closed this in b52ed17 Jan 15, 2016

gyandeeps added a commit that referenced this issue Jan 15, 2016

Merge pull request #4958 from eslint/issue4956
Fix: Incorrect error location for space-in-parens (fixes #4956)

@eslint eslint bot locked and limited conversation to collaborators Feb 6, 2018

@eslint eslint bot added the archived due to age label Feb 6, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.