-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
50 lines (50 loc) · 1.15 KB
/
.eslintrc
File metadata and controls
50 lines (50 loc) · 1.15 KB
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
{
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module",
"requireConfigFile": false,
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"extends": "airbnb",
"plugins": ["react", "jsx-a11y", "import"],
"rules": {
"linebreak-style": 0,
"function-paren-newline": 0,
"comma-dangle": 0,
"arrow-parens": 0,
"arrow-body-style": 0,
"space-before-function-paren": 0,
"react/jsx-filename-extension": [
"error",
{
"extensions": [".js", ".jsx"]
}
],
"import/no-extraneous-dependencies": 0,
"react/require-default-props": 0,
"react/no-did-mount-set-state": 0,
"react/forbid-prop-types": 0,
"react/no-string-refs": 0,
"react/prefer-stateless-function": 0,
"class-methods-use-this": 0,
"no-return-assign": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/media-has-caption": 0
},
"env": {
"browser": true,
"es2022": true
},
"settings": {
"react": {
"version": "detect"
}
},
"globals": {
"Promise": false
}
}