-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
50 lines (50 loc) · 1.43 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
},
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json",
},
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true,
},
"plugins": ["react", "import", "jsx-a11y", "prettier", "@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:@typescript-eslint/recommended",
"airbnb",
"plugin:import/errors",
"plugin:jsx-a11y/recommended",
"plugin:prettier/recommended",
],
"settings": {
"react": {
"version": "detect",
},
},
"ignorePatterns": ["tailwind.config.js", "postcss.config.js", "vite.config.js", "service-worker.js"],
"rules": {
"indent": ["warn", 4],
"quotes": ["warn", "double"],
"react/prop-types": "off",
"react/jsx-uses-vars": "warn",
"react/react-in-jsx-scope": "off",
"react/jsx-uses-react": "off",
"no-unused-vars": "warn",
"no-console": "off",
"react/jsx-filename-extension": "off",
"react/jsx-no-bind": "off",
"jsx-a11y/no-autofocus": "off",
"import/no-extraneous-dependencies": "off",
},
}