🐛 False positive in noSelfAssign with properties on this
#576
Labels
A-Linter
Area: linter
L-JavaScript
Language: JavaScript and super languages
S-Bug-confirmed
Status: report has been confirmed as a valid bug
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Environment information
What happened?
If you set a literal computed expression on a property on
this
equal to the same computed expression on any object name, it considers it a self assignment, and same in reverse.Reproduction with several test cases: Playground
Expected result
It should not count things that aren't a self-assignment as a self assignment.
Code of Conduct
The text was updated successfully, but these errors were encountered: