mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 12:52:12 +08:00
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:
@ -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',
|
||||
|
Reference in New Issue
Block a user