diff --git a/.eslintrc.json b/.eslintrc.json index 3319c54..3192ced 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -3,7 +3,6 @@ "plugin:react/recommended", "plugin:react/jsx-runtime", "plugin:jsx-a11y/recommended", - "plugin:vitest-globals/recommended", "prettier" ], "env": { @@ -13,20 +12,12 @@ "ecmaVersion": "latest", "sourceType": "module" }, - "settings": { "react": { "version": "18.2" } }, + "settings": { "react": { "version": "detect" } }, "rules": { "no-duplicate-imports": "warn", "no-unused-vars": "warn", "react/jsx-filename-extension": [1, { "allow": "as-needed" }], "react/prop-types": "off", "react/jsx-no-target-blank": "off" - }, - "overrides": [ - { - "files": ["**/__tests__/*.{j,t}s?(x)", "**/*.(test|spec).{j,t}s?(x)"], - "env": { - "vitest-globals/env": true - } - } - ] + } }