summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-19 13:46:41 +0300
committerValentin Popov <info@valentineus.link>2020-02-19 13:46:41 +0300
commitb9cabcb54be92aec1dfc24cc23208fed584eb8cb (patch)
tree2d89c0a0a8e6fbafd487e86b1d7cb847c2f38308 /src
parent18c9632298a68dbb68430e8fb02bcc4cb3f6f644 (diff)
downloadeslint-config-b9cabcb54be92aec1dfc24cc23208fed584eb8cb.tar.xz
eslint-config-b9cabcb54be92aec1dfc24cc23208fed584eb8cb.zip
feat(typescript): explicit-function-return-type
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/typescript/default.json8
1 files changed, 8 insertions, 0 deletions
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",