aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tslint/lib/configs
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
commit0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch)
treef9864d4a4148621378958794cbbfdc2393733283 /node_modules/tslint/lib/configs
parent6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff)
upgrade dependencies
Diffstat (limited to 'node_modules/tslint/lib/configs')
-rw-r--r--node_modules/tslint/lib/configs/all.d.ts9
-rw-r--r--node_modules/tslint/lib/configs/all.js11
-rw-r--r--node_modules/tslint/lib/configs/latest.d.ts7
-rw-r--r--node_modules/tslint/lib/configs/latest.js8
-rw-r--r--node_modules/tslint/lib/configs/recommended.d.ts1
-rw-r--r--node_modules/tslint/lib/configs/recommended.js1
6 files changed, 34 insertions, 3 deletions
diff --git a/node_modules/tslint/lib/configs/all.d.ts b/node_modules/tslint/lib/configs/all.d.ts
index cb04d518a..6c285be54 100644
--- a/node_modules/tslint/lib/configs/all.d.ts
+++ b/node_modules/tslint/lib/configs/all.d.ts
@@ -32,6 +32,7 @@ export declare const rules: {
})[];
"unified-signatures": boolean;
"await-promise": boolean;
+ "ban-comma-operator": boolean;
"curly": boolean;
"forin": boolean;
"label-position": boolean;
@@ -42,22 +43,26 @@ export declare const rules: {
"no-construct": boolean;
"no-debugger": boolean;
"no-duplicate-super": boolean;
+ "no-duplicate-switch-case": boolean;
"no-duplicate-variable": (string | boolean)[];
"no-empty": boolean;
"no-eval": boolean;
"no-floating-promises": boolean;
"no-for-in-array": boolean;
+ "no-implicit-dependencies": boolean;
"no-inferred-empty-object-type": boolean;
"no-invalid-template-strings": boolean;
"no-misused-new": boolean;
"no-null-keyword": boolean;
"no-object-literal-type-assertion": boolean;
+ "no-return-await": boolean;
"no-shadowed-variable": boolean;
"no-string-literal": boolean;
"no-string-throw": boolean;
"no-sparse-arrays": boolean;
"no-submodule-imports": boolean;
"no-unbound-method": boolean;
+ "no-unnecessary-class": (string | boolean)[];
"no-unsafe-any": boolean;
"no-unsafe-finally": boolean;
"no-unused-expression": boolean;
@@ -108,7 +113,7 @@ export declare const rules: {
"import-spacing": boolean;
"interface-name": boolean;
"interface-over-type-literal": boolean;
- "jsdoc-format": boolean;
+ "jsdoc-format": (string | boolean)[];
"match-default-export-name": boolean;
"new-parens": boolean;
"newline-before-return": boolean;
@@ -116,6 +121,7 @@ export declare const rules: {
"no-boolean-literal-compare": boolean;
"no-consecutive-blank-lines": boolean;
"no-parameter-properties": boolean;
+ "no-redundant-jsdoc": boolean;
"no-reference-import": boolean;
"no-unnecessary-callback-wrapper": boolean;
"no-unnecessary-initializer": boolean;
@@ -129,6 +135,7 @@ export declare const rules: {
"ordered-imports": (boolean | {
"import-sources-order": string;
"named-imports-order": string;
+ "module-source-path": string;
})[];
"prefer-function-over-method": boolean;
"prefer-method-signature": boolean;
diff --git a/node_modules/tslint/lib/configs/all.js b/node_modules/tslint/lib/configs/all.js
index 017ab5098..73c78a011 100644
--- a/node_modules/tslint/lib/configs/all.js
+++ b/node_modules/tslint/lib/configs/all.js
@@ -34,7 +34,7 @@ exports.rules = {
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"],
],
},
- "member-access": [true, "check-accessor", "check-constructor"],
+ "member-access": [true, "check-accessor", "check-constructor", "check-parameter-property"],
"member-ordering": [true, {
"order": "statics-first",
"alphabetize": true,
@@ -85,6 +85,7 @@ exports.rules = {
// Functionality
"await-promise": true,
// "ban": no sensible default
+ "ban-comma-operator": true,
"curly": true,
"forin": true,
// "import-blacklist": no sensible default
@@ -96,6 +97,7 @@ exports.rules = {
"no-construct": true,
"no-debugger": true,
"no-duplicate-super": true,
+ "no-duplicate-switch-case": true,
"no-duplicate-variable": [
true,
"check-parameters",
@@ -104,18 +106,21 @@ exports.rules = {
"no-eval": true,
"no-floating-promises": true,
"no-for-in-array": true,
+ "no-implicit-dependencies": true,
"no-inferred-empty-object-type": true,
"no-invalid-template-strings": true,
// "no-invalid-this": Won't this be deprecated?
"no-misused-new": true,
"no-null-keyword": true,
"no-object-literal-type-assertion": true,
+ "no-return-await": true,
"no-shadowed-variable": true,
"no-string-literal": true,
"no-string-throw": true,
"no-sparse-arrays": true,
"no-submodule-imports": true,
"no-unbound-method": true,
+ "no-unnecessary-class": [true, "allow-empty-class"],
"no-unsafe-any": true,
"no-unsafe-finally": true,
"no-unused-expression": true,
@@ -180,7 +185,7 @@ exports.rules = {
"import-spacing": true,
"interface-name": true,
"interface-over-type-literal": true,
- "jsdoc-format": true,
+ "jsdoc-format": [true, "check-multiline-start"],
"match-default-export-name": true,
"new-parens": true,
"newline-before-return": true,
@@ -188,6 +193,7 @@ exports.rules = {
"no-boolean-literal-compare": true,
"no-consecutive-blank-lines": true,
"no-parameter-properties": true,
+ "no-redundant-jsdoc": true,
"no-reference-import": true,
"no-unnecessary-callback-wrapper": true,
"no-unnecessary-initializer": true,
@@ -208,6 +214,7 @@ exports.rules = {
"ordered-imports": [true, {
"import-sources-order": "case-insensitive",
"named-imports-order": "case-insensitive",
+ "module-source-path": "full",
}],
"prefer-function-over-method": true,
"prefer-method-signature": true,
diff --git a/node_modules/tslint/lib/configs/latest.d.ts b/node_modules/tslint/lib/configs/latest.d.ts
index 79dc26d46..af4a4e9bd 100644
--- a/node_modules/tslint/lib/configs/latest.d.ts
+++ b/node_modules/tslint/lib/configs/latest.d.ts
@@ -31,6 +31,13 @@ export declare const rules: {
"whitespace": {
options: string[];
};
+ "ban-comma-operator": boolean;
+ "jsdoc-format": {
+ options: string;
+ };
+ "no-duplicate-switch-case": boolean;
+ "no-implicit-dependencies": boolean;
+ "no-return-await": boolean;
};
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 dcbb72b43..681ad1c98 100644
--- a/node_modules/tslint/lib/configs/latest.js
+++ b/node_modules/tslint/lib/configs/latest.js
@@ -58,6 +58,14 @@ exports.rules = {
"check-rest-spread",
],
},
+ // added in v5.8
+ "ban-comma-operator": true,
+ "jsdoc-format": {
+ options: "check-multiline-start",
+ },
+ "no-duplicate-switch-case": true,
+ "no-implicit-dependencies": true,
+ "no-return-await": true,
};
// tslint:enable object-literal-sort-keys
// work around "extends" being a keyword
diff --git a/node_modules/tslint/lib/configs/recommended.d.ts b/node_modules/tslint/lib/configs/recommended.d.ts
index 75e3bba56..ecbbf0a1b 100644
--- a/node_modules/tslint/lib/configs/recommended.d.ts
+++ b/node_modules/tslint/lib/configs/recommended.d.ts
@@ -107,6 +107,7 @@ export declare const rules: {
"ordered-imports": {
options: {
"import-sources-order": string;
+ "module-source-path": string;
"named-imports-order": string;
};
};
diff --git a/node_modules/tslint/lib/configs/recommended.js b/node_modules/tslint/lib/configs/recommended.js
index 16f44613e..e1f7aec93 100644
--- a/node_modules/tslint/lib/configs/recommended.js
+++ b/node_modules/tslint/lib/configs/recommended.js
@@ -129,6 +129,7 @@ exports.rules = {
"ordered-imports": {
options: {
"import-sources-order": "case-insensitive",
+ "module-source-path": "full",
"named-imports-order": "case-insensitive",
},
},