mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
chore(.eslintrc.json): remove unnecessary elements from the plugins, add react/jsx-runtime (#2902)
This commit is contained in:
parent
459d789bf6
commit
52eae2b874
@ -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",
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user