-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
206 lines (201 loc) · 2.91 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
root: true
extends: eslint:recommended
parserOptions:
ecmaVersion: 9
rules:
strict:
- 2
- global
require-yield:
- 0
no-console:
- 0
array-bracket-spacing:
- 2
- always
block-spacing:
- 2
- always
brace-style:
- 2
- 1tbs
-
allowSingleLine: false
camelcase:
- 0
comma-spacing:
- 2
- before: false
after: true
comma-style:
- 2
- last
computed-property-spacing:
- 2
- never
consistent-this:
- 2
- this
func-names:
- 0
eol-last:
- 2
id-length:
- 0
id-match:
- 0
indent:
- 2
- 4
-
SwitchCase: 0
CallExpression:
arguments: off
MemberExpression: off
flatTernaryExpressions: false
VariableDeclarator:
var: 2
let: 2
const: 2
key-spacing:
- 2
- beforeColon: false
afterColon: true
mode: strict
linebreak-style:
- 2
- unix
lines-around-comment:
- 0
- beforeBlockComment: false
afterBlockComment: false
beforeLineComment: false
afterLineComment: false
allowBlockStart: false
allowBlockEnd: false
allowObjectStart: false
allowObjectEnd: false
allowArrayStart: false
allowArrayEnd: false
max-depth:
- 1
- 10
max-len:
- 0
max-nested-callbacks:
- 0
max-params:
- 0
max-statements:
- 0
new-parens:
- 2
newline-after-var:
- 0
no-array-constructor:
- 2
no-bitwise:
- 2
no-buffer-constructor:
- 1
no-continue:
- 0
no-lonely-if:
- 2
no-mixed-spaces-and-tabs:
- 2
no-multiple-empty-lines:
- 2
- max: 3
maxEOF: 0
no-negated-condition:
- 0
no-new-object:
- 2
no-useless-escape:
- 0
no-unused-vars:
- 0
disallow-plusplus:
- 0
no-restricted-syntax:
- 0
no-spaced-func:
- 2
no-ternary:
- 0
no-trailing-spaces:
- 2
no-underscore-dangle:
- 0
no-unneeded-ternary:
- 2
object-curly-spacing:
- 2
- always
one-var:
- 2
- never
operator-assignment:
- 2
- always
operator-linebreak:
- 2
- after
padded-blocks:
- 0
quote-props:
- 2
- as-needed
quotes:
- 2
- single
require-jsdoc:
- 0
semi-spacing:
- 2
- before: false
after: true
semi:
- 2
- always
sort-vars:
- 0
keyword-spacing:
- 2
- before: true
after: true
space-before-blocks:
- 2
- functions: always
keywords: always
space-before-function-paren:
- 2
- never
space-in-parens:
- 2
- never
space-infix-ops:
- 2
space-unary-ops:
- 2
- words: true
nonwords: false
spaced-comment:
- 2
- always
- exceptions:
- '-'
- '='
- '+'
wrap-regex:
- 2
eqeqeq: 2
curly: 2
generator-star-spacing:
- 2
- before: false
after: true
env:
node: true
es6: true