-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.eslintrc.json
58 lines (58 loc) · 1.29 KB
/
.eslintrc.json
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
51
52
53
54
55
56
57
58
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"airbnb-base",
"plugin:import/errors",
"plugin:import/warnings",
"airbnb",
"airbnb/hooks",
"plugin:prettier/recommended"
],
"overrides": [],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"react/no-danger": "off",
"react/react-in-jsx-scope": "off",
"no-console": "error",
"prettier/prettier": "off",
"react/jsx-filename-extension": "off",
"import/no-extraneous-dependencies": "off",
"react/jsx-props-no-spreading": "off",
"react/prop-types": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/media-has-caption": [
2,
{
"audio": ["Audio"],
"video": ["Video"],
"track": ["Track"]
}
],
"jsx-a11y/mouse-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off"
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"]
},
"babel-module": {
"extensions": [".js", ".jsx"],
"alias": {
"@/components": "./components",
"@/styles": "./styles"
}
}
}
}
}