Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Set "min-cases" for "prefer-switch" in tslint.json (#2691)
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-hanson authored and nchen63 committed May 5, 2017
1 parent 21db100 commit cbe96cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
},
"extends": "tslint:all",
"rules": {
// TODO: remove this when tslint 5.3 released
"prefer-switch": [true, { "min-cases": 3 }],

// Don't want these
"newline-before-return": false,
"no-parameter-properties": false,
Expand Down

0 comments on commit cbe96cf

Please sign in to comment.