operator-assignment fix is breaking the code #8293
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
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:
What did you do? Please include the actual source code causing the issue.
test.js
$ eslint test.js --fix
What did you expect to happen?
I expected the fix function to fix the code.
What actually happened? Please include the actual, raw output from ESLint.
Instead, it broke the code.
$ eslint test.js --fix > output.txt
test.js
It seems, that the rule doesn't handle braces properly.
The text was updated successfully, but these errors were encountered: