-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy path.eslintrc.json
More file actions
46 lines (46 loc) · 843 Bytes
/
Copy path.eslintrc.json
File metadata and controls
46 lines (46 loc) · 843 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"env": {
"browser": true,
"es6": true,
"node": true,
"mocha": true
},
"extends": [
"airbnb/base",
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime"
],
"globals": {
"expect": false
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"ecmaVersion": 2022,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"plugins": [
"react"
],
"root": true,
"rules": {
"comma-dangle": 0,
"curly": 2,
"quotes": [2, "single"],
"semi": [2, "always"],
"react/prop-types": "off",
"no-console": ["warn", { "allow": ["warn", "error"] }]
},
"settings": {
"react": {
"version": "detect"
}
}
}