-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
55 lines (55 loc) · 1.18 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
{
"env": {
"es6": true,
"node": true,
"browser": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 2020
},
"plugins": [
"promise",
"prettier"
],
"globals": {
"chrome": "readonly"
},
"extends": [
"eslint:recommended",
"airbnb",
"plugin:prettier/recommended"
],
"rules": {
"react/react-in-jsx-scope": "off",
"no-shadow": "off",
"no-nested-ternary": "off",
"no-underscore-dangle": "off",
"no-console": "off",
"global-require": "off",
"no-unused-vars": "warn",
"guard-for-in": "off",
"no-async-promise-executor": "off",
"camelcase": "off",
"no-param-reassign": "off",
"no-continue": "off",
"block-scoped-var": "off",
"no-var": "off",
"no-await-in-loop": "off",
"vars-on-top": "off",
"no-restricted-syntax": "off",
"no-use-before-define": "off",
"consistent-return": "off",
"func-names": "off",
"max-len": [
"warn",
{
"code": 80,
"tabWidth": 2
}
],
"no-plusplus": "off",
"react/jsx-wrap-multilines": "off",
"react/jsx-props-no-spreading": "warn"
}
}