From c540308c2c186006c30679f972c870dede3b7813 Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Sat, 3 Feb 2024 16:03:37 +0100 Subject: [PATCH] Update ESLint rules --- .eslintrc.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 5b6d738c..8d6596b2 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -47,11 +47,13 @@ module.exports = { "import/no-cycle": "off", "prefer-promise-reject-errors": "off", "react/jsx-no-target-blank": "off", - "@typescript-eslint/ban-types": ["error", { - types: { - Function: false, - } - }] + "import/extensions": "off", + "lines-between-class-members": "off", + "no-throw-literal": "warn", + "no-use-before-define": "off", + "no-useless-constructor": "off", + "no-unused-vars": "off", + "@typescript-eslint/no-unused-vars": "error" }, parserOptions: { ecmaVersion: 2020, @@ -73,4 +75,5 @@ module.exports = { "@typescript-eslint/parser": [".ts", ".tsx"], }, }, + "plugins": ["@typescript-eslint"] };