diff options
Diffstat (limited to 'node_modules/tslint/lib/configs')
-rw-r--r-- | node_modules/tslint/lib/configs/all.d.ts | 21 | ||||
-rw-r--r-- | node_modules/tslint/lib/configs/all.js | 5 | ||||
-rw-r--r-- | node_modules/tslint/lib/configs/recommended.js | 2 |
3 files changed, 27 insertions, 1 deletions
diff --git a/node_modules/tslint/lib/configs/all.d.ts b/node_modules/tslint/lib/configs/all.d.ts index 6c285be54..bcaf0a190 100644 --- a/node_modules/tslint/lib/configs/all.d.ts +++ b/node_modules/tslint/lib/configs/all.d.ts @@ -1,3 +1,19 @@ +/** + * @license + * Copyright 2017 Palantir Technologies, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ export declare const rules: { "adjacent-overload-signatures": boolean; "ban-types": { @@ -21,6 +37,7 @@ export declare const rules: { "no-var-requires": boolean; "only-arrow-functions": boolean; "prefer-for-of": boolean; + "prefer-readonly": boolean; "promise-function-async": boolean; "typedef": (string | boolean)[]; "typedef-whitespace": (boolean | { @@ -45,6 +62,7 @@ export declare const rules: { "no-duplicate-super": boolean; "no-duplicate-switch-case": boolean; "no-duplicate-variable": (string | boolean)[]; + "no-dynamic-delete": boolean; "no-empty": boolean; "no-eval": boolean; "no-floating-promises": boolean; @@ -110,6 +128,7 @@ export declare const rules: { "completed-docs": boolean; "deprecation": boolean; "encoding": boolean; + "file-name-casing": (string | boolean)[]; "import-spacing": boolean; "interface-name": boolean; "interface-over-type-literal": boolean; @@ -117,6 +136,7 @@ export declare const rules: { "match-default-export-name": boolean; "new-parens": boolean; "newline-before-return": boolean; + "newline-per-chained-call": boolean; "no-angle-bracket-type-assertion": boolean; "no-boolean-literal-compare": boolean; "no-consecutive-blank-lines": boolean; @@ -142,6 +162,7 @@ export declare const rules: { "prefer-object-spread": boolean; "prefer-switch": boolean; "prefer-template": boolean; + "prefer-while": boolean; "quotemark": (string | boolean)[]; "return-undefined": boolean; "semicolon": (string | boolean)[]; diff --git a/node_modules/tslint/lib/configs/all.js b/node_modules/tslint/lib/configs/all.js index 73c78a011..2a5f24307 100644 --- a/node_modules/tslint/lib/configs/all.js +++ b/node_modules/tslint/lib/configs/all.js @@ -53,6 +53,7 @@ exports.rules = { "no-var-requires": true, "only-arrow-functions": true, "prefer-for-of": true, + "prefer-readonly": true, "promise-function-async": true, "typedef": [ true, @@ -102,6 +103,7 @@ exports.rules = { true, "check-parameters", ], + "no-dynamic-delete": true, "no-empty": true, "no-eval": true, "no-floating-promises": true, @@ -182,6 +184,7 @@ exports.rules = { // "file-header": No sensible default "deprecation": true, "encoding": true, + "file-name-casing": [true, "camel-case"], "import-spacing": true, "interface-name": true, "interface-over-type-literal": true, @@ -189,6 +192,7 @@ exports.rules = { "match-default-export-name": true, "new-parens": true, "newline-before-return": true, + "newline-per-chained-call": true, "no-angle-bracket-type-assertion": true, "no-boolean-literal-compare": true, "no-consecutive-blank-lines": true, @@ -221,6 +225,7 @@ exports.rules = { "prefer-object-spread": true, "prefer-switch": true, "prefer-template": true, + "prefer-while": true, "quotemark": [ true, "double", diff --git a/node_modules/tslint/lib/configs/recommended.js b/node_modules/tslint/lib/configs/recommended.js index e1f7aec93..853115ccc 100644 --- a/node_modules/tslint/lib/configs/recommended.js +++ b/node_modules/tslint/lib/configs/recommended.js @@ -182,7 +182,7 @@ exports.rules = { }, ], }, - "typeof-compare": true, + "typeof-compare": false, "unified-signatures": true, "use-isnan": true, "variable-name": { |