diff options
author | Valentin Popov <info@valentineus.link> | 2020-06-18 00:02:06 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-06-18 00:02:06 +0300 |
commit | 14cecabc106a9cf8e4f34ecb114fd26edd4c92f6 (patch) | |
tree | f7a33bc2fd6fbc626ef1998d035248640e644989 | |
parent | 10507bf4d5bd94fe14949fe34c91d73aa4e43a6a (diff) | |
download | eslint-config-14cecabc106a9cf8e4f34ecb114fd26edd4c92f6.tar.xz eslint-config-14cecabc106a9cf8e4f34ecb114fd26edd4c92f6.zip |
Fixed rules
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r-- | ROADMAP.md | 3 | ||||
-rw-r--r-- | src/rules/javascript/default.json | 8 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 8 |
3 files changed, 4 insertions, 15 deletions
@@ -308,6 +308,7 @@ - [ ] "no-dynamic-require" - [ ] "no-extraneous-dependencies" - [ ] "no-internal-modules" +- [ ] "no-loss-of-precision" - [ ] "no-mutable-exports" - [ ] "no-named-as-default" - [ ] "no-named-as-default-member" @@ -380,6 +381,7 @@ - [ ] "ban-tslint-comment" - [ ] "ban-types" - [ ] "brace-style" +- [ ] "camelcase" - [X] "class-literal-property-style" - [X] "comma-spacing" - [ ] "consistent-type-assertions" @@ -436,7 +438,6 @@ - [X] "no-unsafe-call" - [X] "no-unsafe-member-access" - [X] "no-unsafe-return" -- [X] "no-untyped-public-signature" - [ ] "no-unused-expressions" - [X] "no-unused-vars" - [X] "no-unused-vars-experimental" diff --git a/src/rules/javascript/default.json b/src/rules/javascript/default.json index 3bc17cc..34e1d8f 100644 --- a/src/rules/javascript/default.json +++ b/src/rules/javascript/default.json @@ -106,8 +106,7 @@ "VariableDeclarator": 1, "flatTernaryExpressions": true, "ignoreComments": false, - "ignoredNodes": [], - "offsetTernaryExpressions": 1, + "offsetTernaryExpressions": true, "outerIIFEBody": 1 } ], @@ -468,10 +467,7 @@ "consistent": true, "minProperties": 1, "multiline": true - }, - "consistent": true, - "minProperties": 1, - "multiline": true + } } ], "object-curly-spacing": [ diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index fa868f6..f65f761 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -138,14 +138,6 @@ "@typescript-eslint/no-unsafe-return": [ "error" ], - "@typescript-eslint/no-untyped-public-signature": [ - "warn", - { - "ignoredMethods": [ - "constructor" - ] - } - ], "@typescript-eslint/no-unused-vars": [ "error", { |