Skip to content

Commit

Permalink
Updates deprectated tslint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rogelio-o committed Jun 24, 2018
1 parent 1f186ea commit d9dfd90
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"no-constant-condition": true,
"no-control-regex": true,
"no-debugger": true,
"no-duplicate-case": true,
"no-duplicate-switch-case": true,
"no-duplicate-variable": true,
"no-empty": true,
"no-increment-decrement": true,
Expand All @@ -52,7 +52,7 @@
"no-jquery-raw-elements": true,
"no-regex-spaces": true,
"no-sparse-arrays": true,
"no-stateless-class": true,
"no-unnecessary-class": true,
"no-string-literal": true,
"no-unnecessary-bind": true,
"no-unnecessary-override": true,
Expand All @@ -67,7 +67,6 @@
"triple-equals": [true, "allow-null-check"],
"use-isnan": true,
"use-named-parameter": true,
"valid-typeof": true,

/**
* Code Clarity. The following rules should be turned on because they make the code
Expand All @@ -94,7 +93,7 @@
"no-construct": true,
"no-parameter-properties": true,
"no-default-export": false,
"no-empty-interfaces": true,
"no-empty-interface": true,
"no-for-in": true,
"no-function-expression": true,
"no-inferrable-types": false, // turn no-inferrable-types off in order to make the code consistent in its use of type decorations
Expand All @@ -107,7 +106,7 @@
"no-unnecessary-local-variable": true,
"no-var-keyword": true,
"no-var-requires": true,
"no-var-self": true,
"no-this-assignment": true,
"object-literal-sort-keys": false, // turn object-literal-sort-keys off and sort keys in a meaningful manner
"one-variable-per-declaration": true,
"prefer-array-literal": true,
Expand Down

0 comments on commit d9dfd90

Please sign in to comment.