chore(.eslintrc.json): remove unnecessary elements from the plugins, add react/jsx-runtime (#2902)

This commit is contained in:
Wonsuk Choi 2024-12-16 09:35:34 +09:00 committed by GitHub
parent 459d789bf6
commit 52eae2b874
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,22 +8,13 @@
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/jsx-runtime",
"plugin:react-hooks/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:prettier/recommended"
],
"plugins": [
"@typescript-eslint",
"react",
"prettier",
"react-hooks",
"import",
"@vitest",
"jest-dom",
"testing-library",
"react-compiler"
],
"plugins": ["react-compiler"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
@ -77,8 +68,6 @@
"pathGroupsExcludedImportTypes": ["builtin"]
}
],
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"sort-imports": [
"error",
{