From b9cabcb54be92aec1dfc24cc23208fed584eb8cb Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 19 Feb 2020 14:46:41 +0400 Subject: feat(typescript): explicit-function-return-type Signed-off-by: Valentin Popov --- src/rules/typescript/default.json | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/rules') diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json index a5c0937..64480c8 100644 --- a/src/rules/typescript/default.json +++ b/src/rules/typescript/default.json @@ -9,6 +9,14 @@ "before": false } ], + "@typescript-eslint/explicit-function-return-type": [ + "error", + { + "allowExpressions": false, + "allowHigherOrderFunctions": false, + "allowTypedFunctionExpressions": false + } + ], "@typescript-eslint/indent": [ "error", "tab", -- cgit v1.2.3