From 621602e88b756b9c2e716ade5baea7f44cfc31b8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:11:49 +0400 Subject: feat(typescript): space-before-function-paren Signed-off-by: Valentin Popov --- src/rules/typescript/default.json | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index 98c55db..c98552b 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -138,6 +138,14 @@ "omitLastInOneLineBlock": false } ], + "@typescript-eslint/space-before-function-paren": [ + "error", + { + "anonymous": "always", + "asyncArrow": "always", + "named": "never" + } + ], "@typescript-eslint/strict-boolean-expressions": [ "error", { @@ -199,5 +207,8 @@ ], "semi": [ "off" + ], + "space-before-function-paren": [ + "off" ] } -- cgit v1.2.3