From 8e0b04ffe974e9ba52214657aa26a63a247f4d92 Mon Sep 17 00:00:00 2001 From: EJ Mason <13525251+mxmason@users.noreply.github.com> Date: Sun, 30 Jun 2024 01:55:53 -0700 Subject: [PATCH] chore: clean up eslint config --- .eslintrc.json | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) 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 - } - } - ] + } }