From 5921cd45c45af94218cb8b3c00336517fae01e95 Mon Sep 17 00:00:00 2001 From: Alexander T Date: Thu, 20 Jun 2019 10:58:31 +0300 Subject: [PATCH] @typescript-eslint/prefer-function-type --- .eslintrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 8fa297ff248..1d13a64c086 100644 --- a/.eslintrc +++ b/.eslintrc @@ -42,7 +42,7 @@ "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/prefer-for-of": "error", - "@typescript-eslint/prefer-function-type": "off", + "@typescript-eslint/prefer-function-type": "error", "@typescript-eslint/prefer-interface": "error", "@typescript-eslint/prefer-namespace-keyword": "error", "semi": "off", @@ -128,6 +128,8 @@ "files": ["src/lib/*.d.ts"], "rules": { "@typescript-eslint/interface-name-prefix": "off", + "@typescript-eslint/prefer-function-type": "off", + "no-var": "off" } }]