diff options
-rw-r--r-- | ROADMAP.md | 2 | ||||
-rw-r--r-- | src/rules/typescript/default.json | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -394,7 +394,7 @@ - [ ] "consistent-type-assertions" - [ ] "consistent-type-definitions" - [ ] "default-param-last" -- [ ] "explicit-function-return-type" +- [X] "explicit-function-return-type" - [ ] "explicit-member-accessibility" - [ ] "explicit-module-boundary-types" - [ ] "func-call-spacing" 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", |