diff --git a/workspaces/global-header/eslint.frontend-shared.cjs b/workspaces/global-header/eslint.frontend-shared.cjs index abc6b00ce4..c00eb79b44 100644 --- a/workspaces/global-header/eslint.frontend-shared.cjs +++ b/workspaces/global-header/eslint.frontend-shared.cjs @@ -36,8 +36,10 @@ const materialUiMigrationEslintConfig = { /** * Shared ESLint config for frontend packages in the global-header workspace. */ -module.exports = packageDir => +const createEslintConfig = packageDir => require('@backstage/cli/config/eslint-factory')( packageDir, materialUiMigrationEslintConfig, ); + +module.exports = createEslintConfig;