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

Commit

Permalink
remove unnecessary-else from tslint:latest
Browse files Browse the repository at this point in the history
  • Loading branch information
adidahiya committed Mar 13, 2019
1 parent e080fc4 commit 37147b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/configs/all.ts
Expand Up @@ -154,7 +154,6 @@ export const rules = {
"unnecessary-constructor": true,
"use-default-type-parameter": true,
"use-isnan": true,
"unnecessary-else": true,

// Maintainability

Expand Down Expand Up @@ -266,6 +265,7 @@ export const rules = {
"switch-final-break": true,
"type-literal-delimiter": true,
"unnecessary-bind": true,
"unnecessary-else": true,
"variable-name": { options: ["ban-keywords", "check-format", "require-const-for-all-caps"] },
whitespace: {
options: [
Expand Down
1 change: 0 additions & 1 deletion src/configs/latest.ts
Expand Up @@ -67,7 +67,6 @@ export const rules = {
// added in v5.12
"function-constructor": true,
"unnecessary-bind": true,
"unnecessary-else": true,
};
// tslint:enable object-literal-sort-keys

Expand Down

0 comments on commit 37147b6

Please sign in to comment.