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"], + }, + }, + }, + };