-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc.json
More file actions
24 lines (24 loc) · 781 Bytes
/
.eslintrc.json
File metadata and controls
24 lines (24 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"root": true,
"env": { "browser": true, "es2022": true, "node": true },
"parser": "@typescript-eslint/parser",
"parserOptions": { "ecmaVersion": "latest", "sourceType": "module" },
"settings": { "react": { "version": "detect" } },
"plugins": ["react", "react-hooks", "@typescript-eslint", "jsx-a11y", "import", "prettier"],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jsx-a11y/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier"
],
"rules": {
"react/react-in-jsx-scope": "off",
"no-unused-vars": "off",
"prettier/prettier": "warn",
"@typescript-eslint/no-unused-vars": "off"
}
}