/eslint-plugin-no-switch-true

Prevent switch(true) usage

Primary LanguageJavaScriptThe UnlicenseUnlicense

eslint-plugin-no-switch-true

Prevent switch(true) usage

.eslintrc

{
  "...": {},
  "plugins": [
    "no-switch-true"
  ],
  "rules": {
    "no-switch-true/no-switch-true": "error"
  }
}