tslint.json 233 B

12345678910
  1. {
  2. "rules": {
  3. "prefer-switch": false
  4. },
  5. "meta": {
  6. "category": "style",
  7. "description": "当 `if` 中只有 `===` 时,必须使用 `switch` 替换 `if`",
  8. "reason": "没必要限制"
  9. }
  10. }