From 14cecabc106a9cf8e4f34ecb114fd26edd4c92f6 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 18 Jun 2020 01:02:06 +0400 Subject: Fixed rules Signed-off-by: Valentin Popov --- src/rules/javascript/default.json | 8 ++------ src/rules/typescript/default.json | 8 -------- 2 files changed, 2 insertions(+), 14 deletions(-) (limited to 'src/rules') 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", { -- cgit v1.2.3