-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
47 lines (47 loc) · 848 Bytes
/
.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
{
"root": true,
"env": {
"node": true,
"browser": true,
"es6": true
},
"extends": [
"airbnb"
],
"parserOptions": {
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
}
},
"plugins": [
"react"
],
"rules": {
"max-len": 0,
"linebreak-style": 0,
"no-alert": "off",
"no-param-reassign": [2, { "props": false }],
"prefer-destructuring": [
"error",
{
"VariableDeclarator": {
"array": false,
"object": true
},
"AssignmentExpression": {
"array": false,
"object": false
}
},
{
"enforceForRenamedProperties": false
}
],
"react/react-in-jsx-scope": 0,
"wrap-iife": 0,
"jsx-a11y/label-has-associated-control": 0
}
}