diff options
Diffstat (limited to 'node_modules/tslint/lib/configs/all.js')
-rw-r--r-- | node_modules/tslint/lib/configs/all.js | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/node_modules/tslint/lib/configs/all.js b/node_modules/tslint/lib/configs/all.js index 526c3a30f..502c4a559 100644 --- a/node_modules/tslint/lib/configs/all.js +++ b/node_modules/tslint/lib/configs/all.js @@ -49,6 +49,7 @@ exports.rules = { "no-namespace": true, "no-non-null-assertion": true, "no-reference": true, + "no-this-assignment": true, "no-var-requires": true, "only-arrow-functions": true, "prefer-for-of": true, @@ -95,7 +96,10 @@ exports.rules = { "no-construct": true, "no-debugger": true, "no-duplicate-super": true, - "no-duplicate-variable": true, + "no-duplicate-variable": [ + true, + "check-parameters", + ], "no-empty": true, "no-eval": true, "no-floating-promises": true, @@ -110,6 +114,7 @@ exports.rules = { "no-string-literal": true, "no-string-throw": true, "no-sparse-arrays": true, + "no-submodule-imports": true, "no-unbound-method": true, "no-unsafe-any": true, "no-unsafe-finally": true, @@ -125,6 +130,7 @@ exports.rules = { "strict-type-predicates": true, "switch-default": true, "triple-equals": true, + "use-default-type-parameter": true, "use-isnan": true, // Maintainability "cyclomatic-complexity": true, @@ -135,6 +141,7 @@ exports.rules = { "max-file-line-count": [true, 1000], "max-line-length": [true, 120], "no-default-export": true, + "no-duplicate-imports": true, "no-irregular-whitespace": true, "no-mergeable-namespace": true, "no-require-imports": true, @@ -157,6 +164,7 @@ exports.rules = { "array-type": [true, "array-simple"], "arrow-parens": true, "arrow-return-shorthand": [true, "multiline"], + "binary-expression-operand-order": true, "callable-types": true, "class-name": true, "comment-format": [ @@ -220,6 +228,9 @@ exports.rules = { "method": "never", "named": "never", }], + "space-within-parens": [true, 0], + "switch-final-break": true, + "type-literal-delimiter": true, "variable-name": [ true, "ban-keywords", |