ter-no-self-compare (ESLint: no-self-compare)
disallow comparisons where both sides are exactly the same
Comparing a variable against itself is usually an error, either a typo or refactoring error. It is confusing to the reader and may potentially introduce a runtime error.
"ter-no-self-compare": true
{}