Indent rule - Reports incorrectly for lines following computed object props #8989
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
indent
Relates to the `indent` rule
rule
Relates to ESLint's core rules
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
babel-eslint
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?
Neither of the above patterns to return any errors.
What actually happened? Please include the actual, raw output from ESLint.
The second pattern returned an error (for the line containing
() => 'return'
):error Expected indentation of 2 spaces but found 4 indent
Note: This works correctly in indent-legacy
The text was updated successfully, but these errors were encountered: