aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tslint/lib/configs/all.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/tslint/lib/configs/all.js')
-rw-r--r--node_modules/tslint/lib/configs/all.js11
1 files changed, 9 insertions, 2 deletions
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,