diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 9d6992d1..2faef768 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -11,13 +11,12 @@ module.exports = { ignorePatterns: ["dist", ".eslintrc.cjs"], parserOptions: { ecmaVersion: "latest", sourceType: "module" }, settings: { react: { version: "18.2" } }, - plugins: ["react-refresh", "unused-imports"], + plugins: ["react-refresh"], rules: { "react-refresh/only-export-components": [ "warn", { allowConstantExport: true }, ], "react/prop-types": 0, - "unused-imports/no-unused-imports": "error", }, }; diff --git a/package-lock.json b/package-lock.json index bed1d8b3..74010699 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,6 @@ "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.5", - "eslint-plugin-unused-imports": "^3.1.0", "postcss": "^8.4.32", "prettier": "3.2.5", "tailwindcss": "^3.3.6", @@ -3015,36 +3014,6 @@ "node": ">=0.10.0" } }, - "node_modules/eslint-plugin-unused-imports": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-3.1.0.tgz", - "integrity": "sha512-9l1YFCzXKkw1qtAru1RWUtG2EVDZY0a0eChKXcL+EZ5jitG7qxdctu4RnvhOJHv4xfmUf7h+JJPINlVpGhZMrw==", - "dev": true, - "dependencies": { - "eslint-rule-composer": "^0.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "@typescript-eslint/eslint-plugin": "6 - 7", - "eslint": "8" - }, - "peerDependenciesMeta": { - "@typescript-eslint/eslint-plugin": { - "optional": true - } - } - }, - "node_modules/eslint-rule-composer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz", - "integrity": "sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==", - "dev": true, - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/eslint-scope": { "version": "7.2.2", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", diff --git a/package.json b/package.json index 0c0a3c67..080d3d8d 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,6 @@ "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.5", - "eslint-plugin-unused-imports": "^3.1.0", "postcss": "^8.4.32", "prettier": "3.2.5", "tailwindcss": "^3.3.6",