From 792ad9d777ee322d1994b98a8861c274c7629f42 Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Sun, 21 Jan 2024 16:54:53 +0100 Subject: [PATCH] [chore] fix lint error --- .eslintrc.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 00660f47..5b6d738c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -46,8 +46,12 @@ module.exports = { "react/prop-types": "off", "import/no-cycle": "off", "prefer-promise-reject-errors": "off", - "react/jsx-no-target-blank": "off" - "@typescript-eslint/ban-types": "off" + "react/jsx-no-target-blank": "off", + "@typescript-eslint/ban-types": ["error", { + types: { + Function: false, + } + }] }, parserOptions: { ecmaVersion: 2020,