-
Notifications
You must be signed in to change notification settings - Fork 641
/
.eslintrc
109 lines (109 loc) · 2.03 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"rules": {
"block-scoped-var": 1,
"brace-style": [
1,
"1tbs"
],
"camelcase": [
1,
{
"properties": "always"
}
],
"comma-dangle": 1,
"comma-spacing": [
1,
{
"before": false,
"after": true
}
],
"comma-style": [
1,
"last"
],
"eol-last": 0,
"generator-star-spacing": [
1,
"after"
],
"guard-for-in": 1,
"indent": [
1,
2
],
"no-eq-null": 2,
"no-extra-parens": 1,
"no-lonely-if": 1,
"no-mixed-spaces-and-tabs": [
1,
"smart-tabs"
],
"no-spaced-func": 1,
"no-throw-literal": 2,
"no-trailing-spaces": 0,
"no-underscore-dangle": 0,
"no-undefined": 2,
"no-unused-vars": 1,
"no-var": 1,
"quotes": [
0,
"double",
"avoid-escape"
],
"radix": 1,
"semi-spacing": [
1,
{
"before": false,
"after": true
}
],
"strict": [
1
],
"vars-on-top": 1,
"wrap-iife": 1,
"react/display-name": 0,
"react/jsx-boolean-value": 1,
"jsx-quotes": 1,
"react/jsx-no-undef": 1,
"react/jsx-sort-props": 1,
"react/jsx-sort-prop-types": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-multi-comp": 1,
"react/no-unknown-property": 1,
"react/prop-types": 1,
"react/react-in-jsx-scope": 1,
"react/self-closing-comp": 1,
"react/sort-comp": 1,
"react/wrap-multilines": 1
},
"env": {
"es6": true,
"browser": true,
"node": true,
"mocha": true
},
"extends": "eslint:recommended",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"modules": true,
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"forOf": true,
"generators": true,
"superInFunctions": true,
"templateStrings": true,
"jsx": true
},
"plugins": [
"react"
]
}