Replace dependency babel-eslint with @babel/eslint-parser 7.11.0 #26

Merged
Brain merged 2 commits from renovate/babel-eslint-replacement into main 2024-04-23 19:02:04 +02:00
3 changed files with 34 additions and 24 deletions

View File

@ -8,7 +8,7 @@ module.exports = {
'@vue/standard' '@vue/standard'
], ],
parserOptions: { parserOptions: {
parser: 'babel-eslint' parser: '@babel/eslint-parser'
}, },
rules: { rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',

54
package-lock.json generated
View File

@ -15,13 +15,13 @@
"vue": "^3.4.23" "vue": "^3.4.23"
}, },
"devDependencies": { "devDependencies": {
"@babel/eslint-parser": "7.11.0",
"@vue/cli-plugin-babel": "5.0.8", "@vue/cli-plugin-babel": "5.0.8",
"@vue/cli-plugin-eslint": "5.0.8", "@vue/cli-plugin-eslint": "5.0.8",
"@vue/cli-plugin-pwa": "5.0.8", "@vue/cli-plugin-pwa": "5.0.8",
"@vue/cli-service": "5.0.8", "@vue/cli-service": "5.0.8",
"@vue/compiler-sfc": "3.4.23", "@vue/compiler-sfc": "3.4.23",
"@vue/eslint-config-standard": "6.1.0", "@vue/eslint-config-standard": "6.1.0",
"babel-eslint": "10.1.0",
"eslint": "7.32.0", "eslint": "7.32.0",
"eslint-plugin-import": "2.29.1", "eslint-plugin-import": "2.29.1",
"eslint-plugin-node": "11.1.0", "eslint-plugin-node": "11.1.0",
@ -118,6 +118,37 @@
"url": "https://opencollective.com/babel" "url": "https://opencollective.com/babel"
} }
}, },
"node_modules/@babel/eslint-parser": {
"version": "7.11.0",
"resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.11.0.tgz",
"integrity": "sha512-dJDM2Pc01D9TwKL3Mmz2xgVF9X953RBHq9H4gywbN1q8MrfvXmNHfsCt06vvByBVQqm+9WxMs+doEH/R09TwWQ==",
"dev": true,
"dependencies": {
"eslint-scope": "5.1.0",
"eslint-visitor-keys": "^1.3.0",
"semver": "^6.3.0"
},
"engines": {
"node": "^10.13.0 || ^12.13.0 || >=14.0.0"
},
"peerDependencies": {
"@babel/core": ">=7.11.0",
"eslint": ">=7.5.0"
}
},
"node_modules/@babel/eslint-parser/node_modules/eslint-scope": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.0.tgz",
"integrity": "sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w==",
"dev": true,
"dependencies": {
"esrecurse": "^4.1.0",
"estraverse": "^4.1.1"
},
"engines": {
"node": ">=8.0.0"
}
},
"node_modules/@babel/generator": { "node_modules/@babel/generator": {
"version": "7.24.4", "version": "7.24.4",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.4.tgz", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.4.tgz",
@ -3958,27 +3989,6 @@
"url": "https://github.com/sponsors/ljharb" "url": "https://github.com/sponsors/ljharb"
} }
}, },
"node_modules/babel-eslint": {
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz",
"integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==",
"deprecated": "babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.",
"dev": true,
"dependencies": {
"@babel/code-frame": "^7.0.0",
"@babel/parser": "^7.7.0",
"@babel/traverse": "^7.7.0",
"@babel/types": "^7.7.0",
"eslint-visitor-keys": "^1.0.0",
"resolve": "^1.12.0"
},
"engines": {
"node": ">=6"
},
"peerDependencies": {
"eslint": ">= 4.12.1"
}
},
"node_modules/babel-loader": { "node_modules/babel-loader": {
"version": "8.3.0", "version": "8.3.0",
"resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.3.0.tgz", "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.3.0.tgz",

View File

@ -21,7 +21,7 @@
"@vue/cli-service": "5.0.8", "@vue/cli-service": "5.0.8",
"@vue/compiler-sfc": "3.4.23", "@vue/compiler-sfc": "3.4.23",
"@vue/eslint-config-standard": "6.1.0", "@vue/eslint-config-standard": "6.1.0",
"babel-eslint": "10.1.0", "@babel/eslint-parser": "7.11.0",
"eslint": "7.32.0", "eslint": "7.32.0",
"eslint-plugin-import": "2.29.1", "eslint-plugin-import": "2.29.1",
"eslint-plugin-node": "11.1.0", "eslint-plugin-node": "11.1.0",