Webpack: Set eslint plugin config to flat to prevent cli errors (#96199)

fix(webpack): set eslint plugin config to flat to prevent cli errors
This commit is contained in:
Jack Westbrook
2024-11-11 09:23:24 +01:00
committed by GitHub
parent e22deeac04
commit 787f3b8d6c
2 changed files with 2 additions and 0 deletions

View File

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