diff options
Diffstat (limited to 'node_modules/tslint/lib/configs')
-rw-r--r-- | node_modules/tslint/lib/configs/all.d.ts | 1 | ||||
-rw-r--r-- | node_modules/tslint/lib/configs/all.js | 3 | ||||
-rw-r--r-- | node_modules/tslint/lib/configs/latest.d.ts | 4 | ||||
-rw-r--r-- | node_modules/tslint/lib/configs/latest.js | 14 |
4 files changed, 22 insertions, 0 deletions
diff --git a/node_modules/tslint/lib/configs/all.d.ts b/node_modules/tslint/lib/configs/all.d.ts index 5a04decf4..cb04d518a 100644 --- a/node_modules/tslint/lib/configs/all.d.ts +++ b/node_modules/tslint/lib/configs/all.d.ts @@ -85,6 +85,7 @@ export declare const rules: { "no-duplicate-imports": boolean; "no-irregular-whitespace": boolean; "no-mergeable-namespace": boolean; + "no-parameter-reassignment": boolean; "no-require-imports": boolean; "no-trailing-whitespace": boolean; "object-literal-sort-keys": boolean; diff --git a/node_modules/tslint/lib/configs/all.js b/node_modules/tslint/lib/configs/all.js index 502c4a559..017ab5098 100644 --- a/node_modules/tslint/lib/configs/all.js +++ b/node_modules/tslint/lib/configs/all.js @@ -144,6 +144,7 @@ exports.rules = { "no-duplicate-imports": true, "no-irregular-whitespace": true, "no-mergeable-namespace": true, + "no-parameter-reassignment": true, "no-require-imports": true, "no-trailing-whitespace": true, "object-literal-sort-keys": true, @@ -246,6 +247,8 @@ exports.rules = { "check-type", "check-typecast", "check-preblock", + "check-type-operator", + "check-rest-spread", ], }; exports.RULES_EXCLUDED_FROM_ALL_CONFIG = ["ban", "fileHeader", "importBlacklist", "noInvalidThis", "noSwitchCaseFallThrough", "typeofCompare"]; diff --git a/node_modules/tslint/lib/configs/latest.d.ts b/node_modules/tslint/lib/configs/latest.d.ts index 37bd63881..79dc26d46 100644 --- a/node_modules/tslint/lib/configs/latest.d.ts +++ b/node_modules/tslint/lib/configs/latest.d.ts @@ -27,6 +27,10 @@ export declare const rules: { "no-this-assignment": boolean; "no-duplicate-imports": boolean; "space-within-parens": (number | boolean)[]; + "no-submodule-imports": boolean; + "whitespace": { + options: string[]; + }; }; declare const xtends = "tslint:recommended"; export { xtends as extends }; diff --git a/node_modules/tslint/lib/configs/latest.js b/node_modules/tslint/lib/configs/latest.js index c27200602..dcbb72b43 100644 --- a/node_modules/tslint/lib/configs/latest.js +++ b/node_modules/tslint/lib/configs/latest.js @@ -44,6 +44,20 @@ exports.rules = { // added in v5.6 "no-duplicate-imports": true, "space-within-parens": [true, 0], + "no-submodule-imports": true, + // added in v5.7 + "whitespace": { + options: [ + "check-branch", + "check-decl", + "check-operator", + "check-separator", + "check-type", + "check-typecast", + "check-type-operator", + "check-rest-spread", + ], + }, }; // tslint:enable object-literal-sort-keys // work around "extends" being a keyword |