aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tslint-config
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-17 18:58:04 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-17 18:58:04 +0800
commit4227aaa68a65a0eb3a89b764fce10162e6cb3600 (patch)
treecd9b7e35e7ab010c2eb4152de5fc1d9a5342d96b /packages/tslint-config
parente9589ff7864c401528d20044d8797ea17284a141 (diff)
downloaddexon-sol-tools-4227aaa68a65a0eb3a89b764fce10162e6cb3600.tar
dexon-sol-tools-4227aaa68a65a0eb3a89b764fce10162e6cb3600.tar.gz
dexon-sol-tools-4227aaa68a65a0eb3a89b764fce10162e6cb3600.tar.bz2
dexon-sol-tools-4227aaa68a65a0eb3a89b764fce10162e6cb3600.tar.lz
dexon-sol-tools-4227aaa68a65a0eb3a89b764fce10162e6cb3600.tar.xz
dexon-sol-tools-4227aaa68a65a0eb3a89b764fce10162e6cb3600.tar.zst
dexon-sol-tools-4227aaa68a65a0eb3a89b764fce10162e6cb3600.zip
Add new tslint rules
Diffstat (limited to 'packages/tslint-config')
-rw-r--r--packages/tslint-config/tslint.json19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/tslint-config/tslint.json b/packages/tslint-config/tslint.json
index 11ed24182..374419b69 100644
--- a/packages/tslint-config/tslint.json
+++ b/packages/tslint-config/tslint.json
@@ -49,18 +49,35 @@
"newline-before-return": false,
"no-angle-bracket-type-assertion": true,
"no-boolean-literal-compare": true,
+ "no-debugger": true,
"no-default-export": true,
+ "no-duplicate-super": true,
+ "no-duplicate-switch-case": true,
+ "no-duplicate-variable": true,
"no-empty-interface": false,
+ "no-eval": true,
"no-floating-promises": true,
"no-implicit-dependencies": [true, "dev"],
+ "no-inferred-empty-object-type": true,
+ "no-invalid-template-strings": true,
+ "no-invalid-this": true,
+ "no-misused-new": true,
"no-non-null-assertion": true,
+ "no-redundant-jsdoc": true,
"no-parameter-reassignment": true,
"no-redundant-jsdoc": true,
"no-return-await": true,
+ "no-shadowed-variable": true,
+ "no-sparse-arrays": true,
+ "no-string-literal": true,
"no-string-throw": true,
"no-submodule-imports": false,
"no-switch-case-fall-through": true,
+ "no-this-assignment": false,
+ "no-unbound-method": true,
+ "no-unnecessary-class": true,
"no-unnecessary-type-assertion": true,
+ "no-unsafe-finally": true,
"no-unused-variable": [true, "check-parameters"],
"number-literal-format": true,
"object-literal-key-quotes": false,
@@ -74,6 +91,8 @@
"prefer-const": true,
"prefer-for-of": true,
"prefer-function-over-method": true,
+ "prefer-object-spread": true,
+ "prefer-readonly": true,
"promise-function-async": true,
"quotemark": [true, "single", "avoid-escape", "jsx-double"],
"restrict-plus-operands": true,