From aaef5091b029ee0dcd2a88da0af47e117564b835 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Wed, 30 Jun 2021 08:37:47 +0200 Subject: [PATCH] Fix eslint errors --- Dashboard/.eslintrc.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Dashboard/.eslintrc.js b/Dashboard/.eslintrc.js index 27a873c..b4d6024 100644 --- a/Dashboard/.eslintrc.js +++ b/Dashboard/.eslintrc.js @@ -20,5 +20,24 @@ module.exports = { "react/jsx-filename-extension": [1, { extensions: [".tsx", ".ts"] }], "consistent-return": ["error", { treatUndefinedAsUnspecified: false }], quotes: ["error", "double"], + "import/no-extraneous-dependencies": ["error", { devDependencies: true }], + "import/extensions": [ + "error", + "ignorePackages", + { + js: "never", + jsx: "never", + ts: "never", + tsx: "never", + }, + ], }, + settings: { + "import/resolver": { + node: { + extensions: [".js", ".jsx", ".ts", ".tsx"], + }, + }, + }, + };