Update Babel and ESLint
This commit is contained in:
parent
d3691473bc
commit
1c7973c157
3 changed files with 1768 additions and 1592 deletions
|
@ -23,7 +23,7 @@
|
|||
"@zotero",
|
||||
"plugin:react/recommended"
|
||||
],
|
||||
"parser": "babel-eslint",
|
||||
"parser": "@babel/eslint-parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2018,
|
||||
"ecmaFeatures": {
|
||||
|
@ -32,11 +32,12 @@
|
|||
"sourceType": "module"
|
||||
},
|
||||
"plugins": [
|
||||
"react"
|
||||
"react",
|
||||
"@babel"
|
||||
],
|
||||
"settings": {
|
||||
"react": {
|
||||
"version": "16.8"
|
||||
"version": "17.0"
|
||||
}
|
||||
},
|
||||
"rules": {}
|
||||
|
|
3334
package-lock.json
generated
3334
package-lock.json
generated
File diff suppressed because it is too large
Load diff
19
package.json
19
package.json
|
@ -28,15 +28,16 @@
|
|||
"url": "^0.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.2.3",
|
||||
"@babel/core": "^7.4.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.4.0",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.4.0",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
|
||||
"@babel/plugin-proposal-unicode-property-regex": "^7.14.5",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@babel/cli": "^7.16.0",
|
||||
"@babel/core": "^7.16.5",
|
||||
"@babel/eslint-parser": "^7.16.5",
|
||||
"@babel/eslint-plugin": "^7.16.5",
|
||||
"@babel/plugin-proposal-class-properties": "^7.16.5",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.16.5",
|
||||
"@babel/plugin-proposal-optional-chaining": "^7.16.5",
|
||||
"@babel/plugin-proposal-unicode-property-regex": "^7.16.5",
|
||||
"@babel/preset-react": "^7.16.5",
|
||||
"@zotero/eslint-config": "^1.0.6",
|
||||
"babel-eslint": "^10.0.1",
|
||||
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
|
||||
"browserify": "^14.5.0",
|
||||
"chai": "^4.1.2",
|
||||
|
@ -44,7 +45,7 @@
|
|||
"chokidar": "^2.1.2",
|
||||
"co-mocha": "^1.2.1",
|
||||
"colors": "^1.4.0",
|
||||
"eslint": "^5.14.1",
|
||||
"eslint": "^8.5.0",
|
||||
"eslint-plugin-react": "^7.28.0",
|
||||
"fs-extra": "^3.0.1",
|
||||
"globby": "^6.1.0",
|
||||
|
|
Loading…
Reference in a new issue