-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
30 lines (30 loc) · 781 Bytes
/
.eslintrc
File metadata and controls
30 lines (30 loc) · 781 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
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-console": ["error", { "allow": ["warn", "error", "info"] }],
"max-len": ["error", 120],
"semi": "off",
"indent": ["error", 2, { "SwitchCase": 1 }],
"comma-dangle": ["error", "only-multiline"],
"react/prop-types": "off"
},
"globals": {
"process": "readonly",
"console": "readonly",
"document": "readonly",
"Promise": "readonly",
"setTimeout": "readonly",
"localStorage": "readonly"
}
}