From eb77e5f73e85eb5087acde2dde064309bedf382a Mon Sep 17 00:00:00 2001 From: Yannick Croissant Date: Mon, 1 Jul 2019 17:34:42 +0200 Subject: [PATCH] feat(rules): disable @typescript-eslint/explicit-function-return-type (#110) --- rules/typescript.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/rules/typescript.js b/rules/typescript.js index 61f6a891..f6e1ecbc 100644 --- a/rules/typescript.js +++ b/rules/typescript.js @@ -8,13 +8,7 @@ module.exports = { '@typescript-eslint/ban-ts-ignore': ['off'], '@typescript-eslint/camelcase': ['error'], '@typescript-eslint/class-name-casing': ['error'], - '@typescript-eslint/explicit-function-return-type': [ - 'error', - { - allowExpressions: true, - allowTypedFunctionExpressions: true, - }, - ], + '@typescript-eslint/explicit-function-return-type': ['off'], '@typescript-eslint/explicit-member-accessibility': ['error'], '@typescript-eslint/generic-type-naming': ['error', '^T[A-Z][a-zA-Z]+$'], '@typescript-eslint/indent': ['off'],