generated from Quilljou/vite-react-ts-tailwind-starter
-
Notifications
You must be signed in to change notification settings - Fork 37
/
.eslintrc
36 lines (36 loc) · 959 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"root": true,
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:prettier/recommended",
"plugin:react-hooks/recommended",
"prettier"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"settings": {
"import/resolver": {
"typescript": true
}
},
"plugins": ["unused-imports", "react", "@typescript-eslint", "import", "prettier"],
"rules": {
"import/default": 0,
"import/no-named-as-default-member": 0,
"import/no-unresolved": "warn",
"no-unused-vars": "off", // or "@typescript-eslint/no-unused-vars": "off",
"react/react-in-jsx-scope": "off",
"@typescript-eslint/ban-ts-comment": "off",
"unused-imports/no-unused-imports": "warn",
"react/prop-types": "off"
}
}