no-dupe-else-if 
Forbid duplicate conditions in if-else-if chains
INFO
☑️ The predefined configuration "mslint:recommended" enables this rule.
Rule details 
This rule prohibits duplicate conditions in the same if-else-if chain.
Example of incorrect code for this rule:
maniascript
main() {
  if (A) {}
  else if (A) {}
  if (A) {}
  else if (B) {}
  else if (A) {}
  else if (C) {}
  if (A) {}
  else if (B) {}
  else if (A) {}
  else if (B) {}
  else if (A) {}
  if (A || B) {}
  else if (A) {}
  else if (B) {}
  if (A || B) {}
  else if (B || A) {}
  if (A) {}
  else if (B) {}
  else if (A || B) {}
  if (A || B) {}
  else if (C || D) {}
  else if (A || D) {}
  if (A) {}
  else if (A && B) {}
}Example of correct code for this rule:
maniascript
main() {
  if (A) {}
  else if (B) {}
  if (A || B) {}
  else if (C) {}
  else if (D) {}
  if (A || B) {}
  else if (C || D) {}
  if (A && B) {}
  else if (A) {}
}