-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.eslintrc
68 lines (68 loc) · 1.64 KB
/
.eslintrc
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
59
60
61
62
63
64
65
66
67
68
{
"parser": "babel-eslint",
"extends": ["airbnb-base", "airbnb/rules/react"],
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"react/prop-types": 0,
"react/jsx-one-expression-per-line": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-max-props-per-line": ["error", {
"maximum": 1
}],
"react/no-array-index-key": "off",
"no-underscore-dangle": 0,
"import/imports-first": ["off", "off"],
"import/newline-after-import": "error",
"import/prefer-default-export": "off",
"linebreak-style": "off",
"no-plusplus": "off",
"padded-blocks": "off",
"no-trailing-spaces": "off",
"max-len": ["error", {
"code": 120
}],
"import/no-unresolved": "off",
"import/no-absolute-path": "off",
"import/order": ["warn",
{
"groups": [
"builtin",
"external",
"internal",
"parent",
"sibling",
"index"
]
}],
"import/named": "off",
"no-shadow": "off",
"no-multiple-empty-lines": ["error", { "max": 1 }],
"arrow-parens": "off",
"no-async-promise-executor": "off",
"object-curly-newline": "off",
"spaced-comment": "off",
"react/button-has-type": [0, {
"button": true,
"submit": true,
"reset": true
}],
"global-require": 0,
"no-param-reassign": "off",
"no-restricted-syntax": "off",
"guard-for-in": "off"
},
"globals": {
"window": true,
"document": true,
"localStorage": true,
"FormData": true,
"FileReader": true,
"Blob": true,
"navigator": true
}
}