-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
76 lines (76 loc) · 1.8 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
{
"rules": {
"indent": [
1,
2
],
"linebreak-style": [
1,
"unix"
],
"no-alert": 1,
"no-array-constructor": 1,
"no-caller": 1,
"no-catch-shadow": 1,
"no-eval": 1,
"no-extend-native": 1,
"no-extra-bind": 1,
"no-implied-eval": 1,
"no-iterator": 1,
"no-label-var": 1,
"no-labels": 1,
"no-lone-blocks": 1,
"no-loop-func": 1,
"no-multi-spaces": 1,
"no-multi-str": 1,
"no-native-reassign": 1,
"no-new": 1,
"no-new-func": 1,
"no-new-object": 1,
"no-new-wrappers": 1,
"no-octal-escape": 1,
"no-process-exit": 1,
"no-proto": 1,
"no-return-assign": 1,
"no-script-url": 1,
"no-sequences": 1,
"no-shadow": 1,
"no-shadow-restricted-names": 1,
"no-spaced-func": 1,
"no-trailing-spaces": 1,
"no-undef-init": 1,
"no-underscore-dangle": 1,
"no-unused-expressions": 1,
"no-use-before-define": 1,
"no-with": 1,
"no-extra-parens": [1, "functions"],
"camelcase": 1,
"comma-spacing": 1,
"consistent-return": 1,
"curly": 1,
"dot-notation": 1,
"eol-last": 1,
"eqeqeq": 1,
"key-spacing": 1,
"keyword-spacing": 1,
"new-cap": 1,
"new-parens": 1,
"quotes": [1, 'single'],
"semi": 1,
"semi-spacing": 1,
"space-infix-ops": 1,
"space-unary-ops": 1,
"yoda": 1
},
"env": {
"es6": true,
"browser": true
},
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
"plugins": [
"react"
]
}