no-self-compare 
Forbid comparisons where both sides are the same
INFO
☑️ The predefined configuration "mslint:recommended" enables this rule.
Rule details 
This rule prohibits comparisons where both sides are exactly the same.
Example of incorrect code for this rule:
maniascript
main() {
  if (A == A) {}
}Example of correct code for this rule:
maniascript
main() {
  if (A == B) {}
}