eslint 3.12.0 indent validation failure with object on new line in function call, expects extra 11 indents #7733
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
patch candidate
This issue may necessitate a patch release in the next few days
regression
Something broke
rule
Relates to ESLint's core rules
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using? Default
Please show your full configuration: Using eslint-config-wikimedia 0.3.0 (which I maintain) via grunt-eslint 19.0.0; no other rules.
package.json
:.estlintrc.json
:What did you do? Please include the actual source code causing the issue.
(Simplified from the real code as much as I could to keep the failure there.)
What did you expect to happen?
WIth eslint 3.11.1 this was validating fine.
What actually happened? Please include the actual, raw output from ESLint.
Note that moving 'foo' into an indented item makes this pass; presumably it's thinking that the indentation should be based from the last inline parameter, rather than the beginning of the function? I've worked around it for now but I imagine this isn't intended behaviour in the fix for #7473 ?
The text was updated successfully, but these errors were encountered: