aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tslint-config/tslint.json
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-23 04:07:53 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:13:37 +0800
commit87d34f9c7f3ccf22e01798c27c4a4d5d4f943816 (patch)
treee92510af5e9f1504acbfda424a59bf4facd0249d /packages/tslint-config/tslint.json
parentd20926e150beed4785b31451a415bbf545f850be (diff)
downloaddexon-0x-contracts-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.gz
dexon-0x-contracts-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.tar.zst
dexon-0x-contracts-87d34f9c7f3ccf22e01798c27c4a4d5d4f943816.zip
Auto-fix linter errors
Diffstat (limited to 'packages/tslint-config/tslint.json')
-rw-r--r--packages/tslint-config/tslint.json13
1 files changed, 12 insertions, 1 deletions
diff --git a/packages/tslint-config/tslint.json b/packages/tslint-config/tslint.json
index a53f1b10e..4c2c7adf4 100644
--- a/packages/tslint-config/tslint.json
+++ b/packages/tslint-config/tslint.json
@@ -5,8 +5,14 @@
],
"rules": {
"arrow-parens": [true, "ban-single-arg-parens"],
+ "arrow-return-shorthand": true,
"await-promise": true,
- "ordered-imports": false,
+ "ordered-imports": [
+ true,
+ {
+ "grouped-imports": true
+ }
+ ],
"quotemark": [true, "single", "avoid-escape", "jsx-double"],
"callable-types": true,
"interface-name": false,
@@ -14,6 +20,7 @@
"object-literal-sort-keys": false,
"max-classes-per-file": false,
"max-line-length": [true, 120],
+ "member-access": true,
"member-ordering": [true,
"public-before-private",
"static-before-instance",
@@ -23,8 +30,12 @@
"no-default-export": true,
"no-empty-interface": false,
"no-floating-promises": true,
+ "no-non-null-assertion": true,
+ "no-parameter-reassignment": true,
+ "no-return-await": true,
"no-string-throw": true,
"no-submodule-imports": false,
+ "no-unnecessary-type-assertion": true,
"no-implicit-dependencies": [true, "dev"],
"prefer-const": true,
"promise-function-async": true,