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
rule "no-multi-spaces" changed in eslint 4.4.0 #9079
Comments
Thanks for the report. I'm a bit confused by your example -- it seems to have a The |
@not-an-aardvark The |
To clarify, I meant the |
@not-an-aardvark You are right and I overlooked my copy&paste error. I just updated the source and used |
An unintended side-effect of the refactor in 0f97279 caused `no-multi-spaces` to start reporting any consecutive whitespace characters between tokens, rather than just reporting consecutive spaces. This commit fixes the rule to only report consecutive spaces.
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using? default
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue.
What did you expect to happen?
In previous versions to eslint 4.4.0 the above example did not report a warning when aligning the second arguments in the setValue function calls. In eslint 4.4.0 a warning is reported and I see no way to exclude this very common use case from being reported.
What actually happened? Please include the actual, raw output from ESLint.
The text was updated successfully, but these errors were encountered: