-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
55 lines (55 loc) · 1.33 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
{
"parser": "babel-eslint",
"plugins": [
"react"
],
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"forOf": true,
"generators": true,
"jsx": true,
"objectLiteralComputedProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"modules": true
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"rules": {
"camelcase": 0,
"comma-dangle": [2, "always-multiline"],
"curly": [2, "multi-line"],
"no-underscore-dangle": 0,
"quotes": [2, "single", "avoid-escape"],
"new-cap": [2, {
"capIsNewExceptions": ["Immutable", "Map", "List"]
}],
"strict": 0,
"react/jsx-boolean-value": 0,
"jsx-quotes": 2,
"react/jsx-no-undef": 2,
"react/jsx-sort-props": 0,
"react/jsx-sort-prop-types": 0,
"react/jsx-uses-vars": 2,
"react/no-multi-comp": [2, {"ignoreStateless": true}],
"react/no-unknown-property": 2,
"react/prop-types": 2,
"react/self-closing-comp": 2,
"react/wrap-multilines": 2,
},
"globals": {
}
}