Skip to content

Commit a64a3ca

Browse files
committed
update dependencies
1 parent 8b50332 commit a64a3ca

20 files changed

Lines changed: 12041 additions & 2711 deletions

.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"plugins": ["@babel/plugin-transform-runtime"],
3+
"presets": [["@babel/preset-env"]]
4+
}

.eslintrc

Lines changed: 29 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
{
2-
"parser": "babel-eslint",
3-
"arrowFunctions": true,
4-
"blockBindings": true,
5-
"classes": true,
6-
"defaultParams": true,
7-
"destructuring": true,
8-
"forOf": true,
9-
"generators": true,
10-
"modules": true,
11-
"objectLiteralComputedProperties": true,
12-
"objectLiteralShorthandMethods": true,
13-
"objectLiteralShorthandProperties": true,
14-
"spread": true,
15-
"templateStrings": true,
2+
"parser": "@babel/eslint-parser",
3+
"parserOptions": {
4+
"requireConfigFile": false
5+
},
6+
"ecmaFeatures": {
7+
"arrowFunctions": true,
8+
"blockBindings": true,
9+
"classes": true,
10+
"defaultParams": true,
11+
"destructuring": true,
12+
"forOf": true,
13+
"generators": true,
14+
"modules": true,
15+
"objectLiteralComputedProperties": true,
16+
"objectLiteralShorthandMethods": true,
17+
"objectLiteralShorthandProperties": true,
18+
"spread": true,
19+
"templateStrings": true
20+
},
1621
"env": {
1722
"node": true,
1823
"es6": true,
@@ -34,10 +39,7 @@
3439
"no-extra-boolean-cast": 2,
3540
"no-extra-semi": 2,
3641
"no-func-assign": 2,
37-
"no-inner-declarations": [
38-
2,
39-
"functions"
40-
],
42+
"no-inner-declarations": [2, "functions"],
4143
"no-invalid-regexp": 2,
4244
"no-irregular-whitespace": 2,
4345
"no-negated-in-lhs": 2,
@@ -59,7 +61,6 @@
5961
"no-alert": 2,
6062
"no-caller": 2,
6163
"no-div-regex": 2,
62-
"no-empty-label": 2,
6364
"no-eq-null": 0,
6465
"no-eval": 2,
6566
"no-extend-native": 2,
@@ -119,14 +120,8 @@
119120
}
120121
],
121122
"no-use-before-define": 0,
122-
"handle-callback-err": [
123-
2,
124-
"error"
125-
],
126-
"no-mixed-requires": [
127-
2,
128-
true
129-
],
123+
"handle-callback-err": [2, "error"],
124+
"no-mixed-requires": [2, true],
130125
"no-new-require": 2,
131126
"no-path-concat": 2,
132127
"no-process-exit": 0,
@@ -183,23 +178,11 @@
183178
"no-underscore-dangle": 0,
184179
"no-extra-parens": 2,
185180
"one-var": 0,
186-
"operator-assignment": [
187-
2,
188-
"always"
189-
],
181+
"operator-assignment": [2, "always"],
190182
"padded-blocks": 0,
191-
"quote-props": [
192-
2,
193-
"as-needed"
194-
],
195-
"quotes": [
196-
2,
197-
"single"
198-
],
199-
"semi": [
200-
2,
201-
"always"
202-
],
183+
"quote-props": [2, "as-needed"],
184+
"quotes": [2, "single"],
185+
"semi": [2, "always"],
203186
"semi-spacing": [
204187
2,
205188
{
@@ -208,14 +191,7 @@
208191
}
209192
],
210193
"sort-vars": 0,
211-
"space-after-keywords": [
212-
2,
213-
"always"
214-
],
215-
"space-before-blocks": [
216-
2,
217-
"always"
218-
],
194+
"space-before-blocks": [2, "always"],
219195
"space-before-function-paren": [
220196
2,
221197
{
@@ -231,20 +207,16 @@
231207
"int32Hint": false
232208
}
233209
],
234-
"space-return-throw-case": 2,
235210
"space-unary-ops": [
236211
2,
237212
{
238213
"words": true,
239214
"nonwords": false
240215
}
241216
],
242-
"spaced-comment": [
243-
2,
244-
"always"
245-
],
217+
"spaced-comment": [2, "always"],
246218
"wrap-regex": 0,
247219
"no-var": 0,
248220
"max-len": [2, 130, 4]
249221
}
250-
}
222+
}

0 commit comments

Comments
 (0)