Nx
Enterprise
Nx
fix(linter): handle variable references in replaceOverride The migration generator (@nx/plugin:migration) fails when the project's ESLint flat config contains variable references in property values, such as: `plugins: { 'package-json': pluginPackageJson }` This happens because `replaceOverride` uses `parseTextToJson` to parse the config, which fails for non-JSON-serializable JavaScript expressions. The migration generator should work correctly even when the ESLint config contains variable references. The fix applies the same approach used in PR #33548 for `hasOverride`: using AST-based property extraction instead of JSON parsing. Fixes #34010 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
nx-cloud record -- nx format:check
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
nx-cloud record -- nx format:check
Click to copy
Linux
4 CPU cores
6bda1b47
34026