Update dependency eslint-webpack-plugin to v5 (#109230)

* Update dependency eslint-webpack-plugin to v5

* set failOnError: false to match previous behaviour

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
renovate[bot]
2025-08-06 15:18:22 +01:00
committed by GitHub
parent 5c50fc6385
commit 6ee15da39c
5 changed files with 15 additions and 22 deletions

View File

@ -199,7 +199,7 @@
"eslint-plugin-testing-library": "^7.0.0", "eslint-plugin-testing-library": "^7.0.0",
"eslint-plugin-unicorn": "^56.0.0", "eslint-plugin-unicorn": "^56.0.0",
"eslint-scope": "^8.1.0", "eslint-scope": "^8.1.0",
"eslint-webpack-plugin": "4.2.0", "eslint-webpack-plugin": "5.0.2",
"expose-loader": "5.0.1", "expose-loader": "5.0.1",
"fishery": "^2.2.2", "fishery": "^2.2.2",
"fork-ts-checker-webpack-plugin": "9.1.0", "fork-ts-checker-webpack-plugin": "9.1.0",

View File

@ -16,7 +16,7 @@
"@types/webpack-bundle-analyzer": "^4.7.0", "@types/webpack-bundle-analyzer": "^4.7.0",
"copy-webpack-plugin": "13.0.0", "copy-webpack-plugin": "13.0.0",
"eslint": "9.32.0", "eslint": "9.32.0",
"eslint-webpack-plugin": "4.2.0", "eslint-webpack-plugin": "5.0.2",
"fork-ts-checker-webpack-plugin": "9.1.0", "fork-ts-checker-webpack-plugin": "9.1.0",
"glob": "11.0.3", "glob": "11.0.3",
"identity-obj-proxy": "^3.0.0", "identity-obj-proxy": "^3.0.0",

View File

@ -273,6 +273,7 @@ const config = async (env: Env): Promise<Configuration> => {
'.eslintcache' '.eslintcache'
), ),
configType: 'flat', configType: 'flat',
failOnError: false,
}), }),
] ]
: []), : []),

View File

@ -149,6 +149,7 @@ module.exports = (env = {}) => {
lintDirtyModulesOnly: true, // don't lint on start, only lint changed files lintDirtyModulesOnly: true, // don't lint on start, only lint changed files
extensions: ['.ts', '.tsx'], extensions: ['.ts', '.tsx'],
configType: 'flat', configType: 'flat',
failOnError: false,
}), }),
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({
filename: 'grafana.[name].[contenthash].css', filename: 'grafana.[name].[contenthash].css',

View File

@ -3419,7 +3419,7 @@ __metadata:
"@types/webpack-bundle-analyzer": "npm:^4.7.0" "@types/webpack-bundle-analyzer": "npm:^4.7.0"
copy-webpack-plugin: "npm:13.0.0" copy-webpack-plugin: "npm:13.0.0"
eslint: "npm:9.32.0" eslint: "npm:9.32.0"
eslint-webpack-plugin: "npm:4.2.0" eslint-webpack-plugin: "npm:5.0.2"
fork-ts-checker-webpack-plugin: "npm:9.1.0" fork-ts-checker-webpack-plugin: "npm:9.1.0"
glob: "npm:11.0.3" glob: "npm:11.0.3"
identity-obj-proxy: "npm:^3.0.0" identity-obj-proxy: "npm:^3.0.0"
@ -9371,7 +9371,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/eslint@npm:*, @types/eslint@npm:9.6.1": "@types/eslint@npm:*, @types/eslint@npm:9.6.1, @types/eslint@npm:^9.6.1":
version: 9.6.1 version: 9.6.1
resolution: "@types/eslint@npm:9.6.1" resolution: "@types/eslint@npm:9.6.1"
dependencies: dependencies:
@ -9381,16 +9381,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/eslint@npm:^8.56.10":
version: 8.56.10
resolution: "@types/eslint@npm:8.56.10"
dependencies:
"@types/estree": "npm:*"
"@types/json-schema": "npm:*"
checksum: 10/0cdd914b944ebba51c35827d3ef95bc3e16eb82b4c2741f6437fa57cdb00a4407c77f89c220afe9e4c9566982ec8a0fb9b97c956ac3bd4623a3b6af32eed8424
languageName: node
linkType: hard
"@types/estree@npm:*, @types/estree@npm:1.0.8, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.5, @types/estree@npm:^1.0.6, @types/estree@npm:^1.0.8": "@types/estree@npm:*, @types/estree@npm:1.0.8, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.5, @types/estree@npm:^1.0.6, @types/estree@npm:^1.0.8":
version: 1.0.8 version: 1.0.8
resolution: "@types/estree@npm:1.0.8" resolution: "@types/estree@npm:1.0.8"
@ -16377,19 +16367,20 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"eslint-webpack-plugin@npm:4.2.0": "eslint-webpack-plugin@npm:5.0.2":
version: 4.2.0 version: 5.0.2
resolution: "eslint-webpack-plugin@npm:4.2.0" resolution: "eslint-webpack-plugin@npm:5.0.2"
dependencies: dependencies:
"@types/eslint": "npm:^8.56.10" "@types/eslint": "npm:^9.6.1"
flatted: "npm:^3.3.3"
jest-worker: "npm:^29.7.0" jest-worker: "npm:^29.7.0"
micromatch: "npm:^4.0.5" micromatch: "npm:^4.0.8"
normalize-path: "npm:^3.0.0" normalize-path: "npm:^3.0.0"
schema-utils: "npm:^4.2.0" schema-utils: "npm:^4.3.0"
peerDependencies: peerDependencies:
eslint: ^8.0.0 || ^9.0.0 eslint: ^8.0.0 || ^9.0.0
webpack: ^5.0.0 webpack: ^5.0.0
checksum: 10/061d11a93832b82bd0362d6c546f51fe5e3a0eb811374b86536a2929ff46fea7e5ef30e32f0d3194b9da146a7c0ae43f13b2ec5ce0f65a9ca9c4d961d9e446b3 checksum: 10/b50370fb530b7543366a1360639c2a86cacadb88d364b393c3055b093fec5034122b4ee0e0b9247b002b6659e360a08c68d6361d07db1b1dcf547e549331f076
languageName: node languageName: node
linkType: hard linkType: hard
@ -18389,7 +18380,7 @@ __metadata:
eslint-plugin-testing-library: "npm:^7.0.0" eslint-plugin-testing-library: "npm:^7.0.0"
eslint-plugin-unicorn: "npm:^56.0.0" eslint-plugin-unicorn: "npm:^56.0.0"
eslint-scope: "npm:^8.1.0" eslint-scope: "npm:^8.1.0"
eslint-webpack-plugin: "npm:4.2.0" eslint-webpack-plugin: "npm:5.0.2"
expose-loader: "npm:5.0.1" expose-loader: "npm:5.0.1"
fast-deep-equal: "npm:^3.1.3" fast-deep-equal: "npm:^3.1.3"
fast-json-patch: "npm:3.1.1" fast-json-patch: "npm:3.1.1"