-
Notifications
You must be signed in to change notification settings - Fork 35
/
.eslintrc-es6
55 lines (55 loc) · 1.21 KB
/
.eslintrc-es6
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
{
"rules": {
"max-len": [1, 119, 4],
"indent": [2, 4],
"jsx-quotes": [0],
"quotes": [0],
"space-before-function-paren": [2, "never"],
"operator-linebreak": [2, "before", { "overrides": { "?": "after", "&&": "after" } }],
"require-jsdoc": [2, {"require": {
"FunctionDeclaration": true,
"MethodDefinition": false,
"ClassDeclaration": false
}
}],
"no-unused-vars": [2, {
"vars": "local",
"args": "none"
}],
"no-inline-comments": 0,
"comma-dangle": 0,
"vars-on-top": 2,
"react/jsx-indent-props": 0,
"react/jsx-curly-spacing": [2, "never"],
"react/jsx-closing-bracket-location": 0
},
"globals": {
"ReactDOM": true,
"React": true,
"ToolTip": true,
"$": true,
"window": true,
"_": true,
"ReactReorderable": true
},
"env": {
"es6": true,
"jquery": true,
"browser": true,
"node": false
},
"extends": ["xo/browser", "xo-react"],
"ecmaFeatures": {
"jsx": true,
"modules": false,
"forOf": true,
"blockBindings": true,
"arrowFunctions": true,
"classes": true,
"defaultParams": true,
"experimentalObjectRestSpread": true
},
"plugins": [
"react"
]
}