Skip to content

Commit 3302557

Browse files
committed
Remove jsnext:main property from package.json, update dependencies
1 parent aa1b609 commit 3302557

File tree

5 files changed

+2304
-789
lines changed

5 files changed

+2304
-789
lines changed

.eslintrc renamed to .eslintrc.json

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@
1313
],
1414
"parser": "babel-eslint",
1515
"parserOptions": {
16-
"ecmaVersion": 6,
16+
"ecmaVersion": 2018,
1717
"sourceType": "module",
1818
"ecmaFeatures": {
19-
"experimentalObjectRestSpread": true,
2019
"jsx": true
2120
}
2221
},
@@ -120,7 +119,7 @@
120119
"jsx-quotes": ["error", "prefer-double"],
121120
"key-spacing": [
122121
"error",
123-
{"beforeColon": false, "mode": "strict", }
122+
{"beforeColon": false, "mode": "strict"}
124123
],
125124
"keyword-spacing": [
126125
"error",
@@ -145,12 +144,12 @@
145144
"lines-between-class-members": [
146145
"error",
147146
"always",
148-
{exceptAfterSingleLine: true}
147+
{"exceptAfterSingleLine": true}
149148
],
150149
"max-depth": ["warn", 2],
151150
"max-len": [
152151
"warn",
153-
{"code": 80, "comments": 80, "ignoreUrls": true},
152+
{"code": 80, "comments": 80, "ignoreUrls": true}
154153
],
155154
"max-lines": [
156155
"warn",
@@ -306,12 +305,14 @@
306305
"require-await": "error",
307306
"require-jsdoc": [
308307
"warn",
309-
"require": {
310-
"FunctionDeclaration": true,
311-
"MethodDefinition": false,
312-
"ClassDeclaration": false,
313-
"ArrowFunctionExpression": true,
314-
"FunctionExpression": false
308+
{
309+
"require": {
310+
"FunctionDeclaration": true,
311+
"MethodDefinition": false,
312+
"ClassDeclaration": false,
313+
"ArrowFunctionExpression": true,
314+
"FunctionExpression": false
315+
}
315316
}
316317
],
317318
"semi": ["error", "always"],
@@ -365,7 +366,7 @@
365366
"matchDescription": ".+",
366367
"requireParamDescription": false,
367368
"requireReturnDescription": false
368-
},
369+
}
369370
],
370371
"vars-on-top": "warn",
371372
"wrap-iife": [
@@ -374,12 +375,10 @@
374375
],
375376
"yield-star-spacing": "error",
376377

377-
// https://github.com/benmosher/eslint-plugin-import
378378
"import/first": "error",
379379
"import/no-amd": "error",
380380
"import/no-webpack-loader-syntax": "error",
381381

382-
// https://github.com/yannickcr/eslint-plugin-react
383382
"react/jsx-pascal-case": "error",
384383
"react/style-prop-object": "error"
385384
}

0 commit comments

Comments
 (0)