-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
68 lines (68 loc) · 1.72 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
{
"extends": "airbnb",
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"semi": [
"error",
"always"
],
"comma-dangle": 0,
"no-console": "off",
"react/jsx-filename-extension": [1, {
"extensions": [".js", ".jsx"]
}],
"global-require": "off",
"react/prop-types": [
1,
{ "ignore": "ignore", "customValidators": "customValidator" }
],
"react/destructuring-assignment": [true , "always", { "ignoreClassFields": true }],
"react/jsx-indent": [true, 4],
"max-len": 0,
"class-methods-use-this": 0,
"react/jsx-indent-props": 0,
"import/no-named-as-default": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/interactive-supports-focus": 0,
"no-bitwise": 0,
"no-trailing-spaces": ["error", { "ignoreComments": true }],
"react/no-string-refs": 0,
"jsx-a11y/no-static-element-interactions": [
"error",
{
"handlers": [
"onClick",
"onMouseDown",
"onMouseUp",
"onKeyPress",
"onKeyDown",
"onKeyUp",
"onMouseOver",
"onMouseOut"
]
}
]
},
"env": {
"amd": true,
"browser": true,
"jquery": true,
"node": true,
"es6": true,
"worker": true
},
"globals": {
"document": true,
"window": true,
"$": true,
"_": true
},
"parser": "babel-eslint"
}