Skip to content

Commit

Permalink
chore: clean up eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
mxmason committed Jun 30, 2024
1 parent 9085096 commit 8e0b04f
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:jsx-a11y/recommended",
"plugin:vitest-globals/recommended",
"prettier"
],
"env": {
Expand All @@ -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
}
}
]
}
}

0 comments on commit 8e0b04f

Please sign in to comment.