@nx/eslint - Migrations
For an overview of the plugin and setup instructions, see the @nx/eslint introduction.
The @nx/eslint plugin provides various migrations to help you migrate to newer versions of eslint projects within your Nx workspace. Below is a complete reference for all available migrations.
24.1.x
Section titled “24.1.x”update-24-1-0-add-directive-checks-rule
Section titled “update-24-1-0-add-directive-checks-rule”Version: 24.1.0-beta.1
Adds the @nx/directive-checks rule to the root ESLint config that project configs extend, in workspaces whose files use the @nx-depends-on or @nx-ignore-server-inputs directives.
Add the @nx/directive-checks lint rule
Section titled “Add the @nx/directive-checks lint rule”Nx 24.1 adds the @nx/directive-checks rule to @nx/eslint-plugin. It reports mistakes in the @nx- directives at the top of a file that Nx ignores or fails on, such as a misspelled directive name or an @nx-depends-on pattern that matches no project.
The migration adds the rule as error to the root ESLint config that project configs extend. That’s the root base config (eslint.base.config.mjs or .eslintrc.base.json) when the workspace has one, and the root config otherwise. It adds the rule when all of these are true:
- The root has a supported ESLint config.
- That config registers the
@nxplugin for every file in a shape Nx generates:...nx.configs['flat/base']directly in the exported array withnximported from@nx/eslint-plugin, or"plugins": ["@nx"]at the top level of a.jsonconfig. - No ESLint config mentions
@nx/directive-checks. - A file behind an atomized target (
<target>--<file path>) has@nx-depends-onor@nx-ignore-server-inputsin its leading comment block.
Lint then fails on every problem the rule reports, such as a misspelled @nx- directive in any file that config lints. Fix the reported lines.
When an ESLint config uses @nx/eslint-plugin but the migration can’t verify that the config it would change registers it for every file, it leaves that config unchanged and prints a warning. It does the same for a root config it can’t edit, such as eslint.config.ts. Add the rule to a config that registers @nx for the files it checks.
The migration adds the rule without a files pattern. In a flat config it adds its own entry, and in .eslintrc.json it adds a top-level rule. The rule then runs on every file the config already lints, and ESLint doesn’t start linting files that no parser is set up for.
Sample code changes
Section titled “Sample code changes”Before
Section titled “Before”import nx from '@nx/eslint-plugin';
export default [ ...nx.configs['flat/base'], ...nx.configs['flat/typescript'], ...nx.configs['flat/javascript'], // ... other config];import nx from '@nx/eslint-plugin';
export default [ ...nx.configs['flat/base'], ...nx.configs['flat/typescript'], ...nx.configs['flat/javascript'], // ... other config { rules: { '@nx/directive-checks': 'error', }, },];update-24-1-0-migrate-to-eslint-v10
Section titled “update-24-1-0-migrate-to-eslint-v10”Version: 24.1.0-beta.2
Prepare the workspace for ESLint v10: convert eslintrc configs to flat config, since v10 removed the eslintrc format, and replace the ESLint plugins that have no v10 release.
Requires
Section titled “Requires”| Name | Version |
|---|---|
eslint | >=10.0.0 |
Prepare the workspace for ESLint v10
Section titled “Prepare the workspace for ESLint v10”ESLint v10 removed the eslintrc configuration format and the ESLINT_USE_FLAT_CONFIG escape hatch, so ESLint no longer reads .eslintrc.* files itself. Only a flat config that loads one through FlatCompat still applies it. It also raised the Node.js floor to ^20.19.0 || ^22.13.0 || >=24, and a few widely used plugins have no v10 release.
This migration runs when the workspace lands on ESLint v10. It converts the eslintrc configs that are left, replaces the plugins with no release that supports ESLint v10, and reports whatever it could not do safely so the paired prompt can finish it.
When the ESLint v10 update is held back
Section titled “When the ESLint v10 update is held back”Some packages have releases that do not work on ESLint v10. The update to ESLint v10 is skipped for a workspace that declares one of those releases. Those workspaces stay on v9, which is still supported, until they update that package.
angular-eslintand@angular-eslint/eslint-pluginbelow 21.3, the release that added ESLint v10 to their peer range. On Angular 21, the@nx/angularmigrations moveangular-eslint21.0-21.2 to 21.3 in the same run, so the update goes ahead. Angular 20 workspaces stay on v9.eslint-config-nextbelow 16.4, the first release whose bundled plugins work on ESLint v10. Versions 16.0-16.3 accept v10 in their peer range, but the React plugins they bundle fail on it. When@nx/nextis installed, its migrations move 16.0-16.3 to 16.4 in the same run, so the update goes ahead. Next.js 15 and lower useeslint-config-next15 or lower, so those workspaces stay on v9.@nuxt/eslint-configbelow 1.0, which@nx/nuxtinstalls for a workspace on eslintrc. Its peer range ends at ESLint v9.eslint-plugin-vuebelow 9 and@vue/eslint-config-typescriptbelow 14. Their peer ranges end at ESLint v8.
Converting the remaining eslintrc configs
Section titled “Converting the remaining eslintrc configs”The @nx/eslint:convert-to-flat-config generator does the conversion, so JSON and YAML configs are handled the same way the ESLint v9 migration handled them. JavaScript-based configs (.eslintrc.js, .eslintrc.cjs) are read statically, never executed: a config whose exported object is made of literals is converted like any other, and one that computes its values is reported instead of guessed at.
The conversion runs only when the workspace root has no flat config yet. Otherwise the eslintrc files left in the workspace are reported, not converted. ESLint v10 does not read them, so the rules of one that no flat config loads through FlatCompat are not applied. If lint already ran on flat config before the update, those rules were already off, and converting the file can surface new lint errors.
Task inputs in nx.json and project configuration that name an eslintrc or .eslintignore file move to the flat config. .eslintrc.base.json becomes eslint.base.config.*. .eslintrc, .eslintrc.json, .eslintrc.yaml, .eslintrc.yml, .eslintrc.js, .eslintrc.cjs and .eslintignore become eslint.config.*. The input also keeps the old name while a file it names is left in the workspace, so task hashes still cover the file. For a {workspaceRoot} path that is the file itself, and for any other input a file with that name anywhere. A glob or an includeIgnored fileset always keeps the old name. A lint target default that lists inputs also gets {workspaceRoot}/eslint.config.*, and a production named input gets !{projectRoot}/eslint.config.*.
Lint targets are converted too. When Nx 24 converted @nx/eslint:lint targets to inferred tasks, the eslintrc-only options ignore-path, no-eslintrc, resolve-plugins-relative-to and rulesdir stayed on the target, and flat config supports none of them. The conversion removes no-eslintrc from the project configuration of inferred lint targets and from the targetDefaults entries for @nx/eslint/plugin, and reports the other three. It also reports all four when a target passes them as flags in args, and leaves them there. An ignore-path stays where it is, and so does the file it names. Moving its patterns into the flat config’s ignores would apply them to every run of that config, including the editor and targets that never used the file. Pass them as --ignore-pattern flags in the args of the runs that used the file instead.
Before
Section titled “Before”module.exports = { extends: ['../../.eslintrc.json'], overrides: [ { files: ['*.ts'], rules: { '@typescript-eslint/no-explicit-any': 'error' }, }, ],};import baseConfig from '../../eslint.config.mjs';
const eslintConfig = [ ...baseConfig, { files: ['**/*.ts'], rules: { '@typescript-eslint/no-explicit-any': 'error' }, },];
export default eslintConfig;Comments in the original config are not carried over, since the converted file is generated from the config values rather than rewritten in place.
Replacing the plugins with no ESLint v10 release
Section titled “Replacing the plugins with no ESLint v10 release”eslint-plugin-import, eslint-plugin-jsx-a11y and eslint-plugin-react peer-depend on ESLint v9 or lower and have no v10 release. The migration removes them from package.json and installs eslint-plugin-import-x when eslint-plugin-import was there. eslint-plugin-import-x supports v10 from 4.16.2 and eslint-plugin-react-hooks from 7.1.0, so a workspace that declares an older release gets eslint-plugin-import-x ^4.17.1 or eslint-plugin-react-hooks 7.1.1. A declaration the update cannot rewrite, such as workspace:*, is reported instead.
Two of those removals lose rules outright. eslint-plugin-import has a maintained fork in eslint-plugin-import-x, so its rules move across, but Nx installs no replacement for eslint-plugin-react and eslint-plugin-jsx-a11y: every react/ and jsx-a11y/ rule the workspace was enforcing stops being enforced. They are removed rather than left alone because no published release of either declares support for ESLint v10, so keeping them would leave the workspace on plugins its ESLint is outside the supported range of. A workspace that depends on those rules can stay on ESLint v9, which Nx still supports. Run nx migrate <version> --include=required to update only the Nx packages. ESLint and the other third-party packages Nx manages keep their versions, and this migration does not run. A later nx migrate --include=optional applies the updates that run deferred, including ESLint v10 and this migration.
On npm, the install that nx migrate --run-migrations runs before the migrations can fail with an ERESOLVE peer dependency error, because those plugins are still in package.json and their peer ranges exclude ESLint v10. Install once with npm install --legacy-peer-deps, then run nx migrate --run-migrations --skip-install. The migration then removes those plugins, so they no longer block later installs.
Workspaces that get these rules through an Nx preset (@nx/eslint-plugin’s flat/react, flat/react-base and flat/react-jsx) need no config change: the presets already resolve eslint-plugin-import-x and the classic react-hooks rules on ESLint v10, and they drop the react and jsx-a11y rules for the same reason.
The migration reports, for manual follow-up:
- A JavaScript or TypeScript file, config or not, that imports one of the removed plugins by package name, through
import,export ... from,require,require.resolveorimport(). - An eslintrc file still in the workspace that names one of them, extends one of their configs (
plugin:react/recommended), or configures their rules through theimport/,react/orjsx-a11y/prefix.
A flat config that names a removed plugin’s rule or plugin: config without importing the plugin is not reported. ESLint reports it when it lints a file with that config: Could not find plugin for a rule, and Failed to load plugin for a plugin: config loaded through FlatCompat. Only the import to import-x case has an equivalent to move to. eslint-plugin-import-x reads only its own import-x/ settings, so import/resolver and the other import/ settings keys have to be renamed too.
Directive comments need the same cleanup, because a rule that is no longer defined cannot be referenced from one either. ESLint fails with Definition for rule '...' was not found on a leftover /* eslint-disable react/no-danger */ or an inline /* eslint import/no-cycle: "error" */. The migration reads the comments of each JavaScript and TypeScript file from its TypeScript parse, and treats them the way ESLint does: block comments, plus line comments for eslint-disable-line and eslint-disable-next-line.
- It reports every directive comment that names a rule of a removed plugin, and leaves it as it is. Another config can still register the plugin:
eslint-config-expo, for one, registerseslint-plugin-reactfrom its own dependencies. Whether animport/rule moves toeslint-plugin-import-xdepends on the rule and on the key the config registers the fork under. - It deletes one comment: the
/* eslint-disable jsx-a11y/accessible-emoji */line Nx generated at the top of the Expo and React Native welcome page, when it removedeslint-plugin-jsx-a11y. That plugin deprecated the rule, and none of its presets enable it. - It checks no directive comment when a
package.jsondeclareseslint-config-next, which registers all three plugins itself (see Next.js configs below).
Lint reports what is left in the files a lint target covers. The migration does not read other file types, such as .vue files, or files git ignores.
Next.js configs
Section titled “Next.js configs”eslint-config-next registers eslint-plugin-react, eslint-plugin-jsx-a11y and eslint-plugin-import from its own dependencies, and its 16.4 release supports ESLint v10. A config that spreads it keeps their react/, jsx-a11y/ and import/ rules. The migration does not work out which files such a config lints, so when any package.json declares eslint-config-next, it does not report directive comments. Lint reports the ones that no longer resolve.
The same holds for the two shapes Nx generated for Next.js apps: registering the @next/next plugin and extending next through FlatCompat. The @nx/next migrations for this release replace those entries with a spread of eslint-config-next/core-web-vitals, or list the configs they could not update. They also move eslint-config-next and @next/eslint-plugin-next from 16.0-16.3 to ^16.4.0. On Next.js 16 or later, they move @next/eslint-plugin-next 14 and 15 to ^16.4.0 too.
When another config may register one of those plugins, the @nx/next migration uses the core-web-vitals config of @next/eslint-plugin-next instead, because ESLint rejects a different copy of a plugin another config already registered. The two may be the same copy, which ESLint accepts. That config registers only @next/next. The react/, jsx-a11y/ and import/ rules of a config that uses it, and the ones named in directive comments of the files it lints, fail unless another config registers the plugin.
A Next.js config is reported like any other when it imports one of the removed plugins.
Checking the remaining plugins
Section titled “Checking the remaining plugins”Every dependency in the root package.json that declares a peerDependencies.eslint is checked against it, and the ones whose range rules the new ESLint out are reported so they can be updated or replaced. Declaring that peer is the signal rather than the package name, so packages like typescript-eslint and angular-eslint are covered too. A plugin declared only in a project’s package.json is not checked. The check is one-directional: a package that declares an open range such as >=8, or no ESLint peer at all, satisfies it without having been built for v10, so it is worth running lint before treating the workspace as done. It also reads those ranges from node_modules, so when the migration runs before the updated dependencies are installed it reports that the check was skipped rather than a clean result.
What is not changed
Section titled “What is not changed”The migration code never turns a rule off to make lint pass. The only source edit it makes is deleting the generated jsx-a11y/accessible-emoji comment described above.
The paired prompt edits source files in two cases: it rewrites or deletes a directive comment that lint reports as naming a rule ESLint can no longer find, and it replaces an /* eslint-env */ comment by moving its globals into the flat config or a /* global */ comment. The only rules it turns off are the ones a changed preset newly enables, listed below, and it does that in the flat config. ESLint v10 itself enforces nothing new: it ships the same rule set as v9. @eslint/js stays at the declared version unless the conversion adds it (see below) or the workspace uses @nx/eslint-plugin, whose flat configs import it: there nx migrate adds @eslint/js ^10.0.0, or moves a declared v9 range to it, which brings the three newly enabled rules listed below. Separately, typescript-eslint moves to 8.58, whose recommended set matches the 8.40 one the ESLint v9 migration installed.
Five things can still turn a workspace that linted cleanly on v9 red, and the migration reports each one rather than fixing it:
- Directive comments naming a rule from a removed plugin. A directive for a rule ESLint cannot find is an error in its own right, so lint fails while one is left. In a workspace that declares
eslint-config-next, only lint reports them. /* eslint-env */comments. ESLint v9 applied them only on eslintrc and warned about them on flat config, and v10 reports each one as/* eslint-env */ comments are no longer supported. The globals they declared have to move into the flat config or into a/* global */comment.- A config that extends
eslint:recommendedand is converted here, or that a converted config loads throughFlatCompat. The flat-config translation pulls the recommended set from@eslint/js, and a workspace that did not have that package yet gets its v10 release, whose recommended set enables three rules the v9 one did not:no-unassigned-vars,no-useless-assignmentandpreserve-caught-error. - A lint target that still carries
ignore-path,rulesdir,resolve-plugins-relative-to, or ano-eslintrcthe conversion did not remove, as an option or as a flag inargs. ESLint v10 rejectsignore-path,no-eslintrc,resolve-plugins-relative-toand arulesdirgiven as one path or inargsas invalid options. Arulesdirlist never reaches ESLint, so the rules in its directory are not loaded. - A config that pulls
eslint-plugin-react-hooks’s ownrecommendedpreset. Moving that plugin to v7 grows the preset from 2 rules to 16, adding the React Compiler set with 12 of them at error severity. Configs that reach the rules through@nx/eslint-plugin’sflat/reactorflat/react-jsxare unaffected: those pinrules-of-hooksandexhaustive-depson ESLint v10.
The conversion also changes which rules apply to JavaScript files, and the migration does not report it. A config that extended plugin:@nx/javascript gets flat/javascript, which applies typescript-eslint’s eslint-recommended overrides to .js files too. The eslintrc preset applied them to TypeScript files only. So on JavaScript files no-var, prefer-const, prefer-rest-params and prefer-spread become errors, and the core rules typescript-eslint leaves to the TypeScript compiler, such as no-undef, no-redeclare and no-unreachable, are turned off.
24.1.0-package-updates
Section titled “24.1.0-package-updates”Version: 24.1.0-beta.2
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
eslint | ^10.0.0 | Updated only |
typescript-eslint | ^8.58.0 | Updated only |
@typescript-eslint/eslint-plugin | ^8.58.0 | Updated only |
@typescript-eslint/parser | ^8.58.0 | Updated only |
@typescript-eslint/utils | ^8.58.0 | Updated only |
@typescript-eslint/type-utils | ^8.58.0 | Updated only |
@typescript-eslint/rule-tester | ^8.58.0 | Updated only |
@typescript-eslint/scope-manager | ^8.58.0 | Updated only |
@typescript-eslint/typescript-estree | ^8.58.0 | Updated only |
@eslint/compat | ^2.0.5 | Updated only |
24.1.0-eslint-js-package-updates
Section titled “24.1.0-eslint-js-package-updates”Version: 24.1.0-beta.4
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
@eslint/js | ^10.0.0 | Updated only |
24.0.x
Section titled “24.0.x”remove-deprecated-executors
Section titled “remove-deprecated-executors”Version: 24.0.0-beta.3
Converts targets using the removed @nx/eslint executors to inferred tasks; an AI prompt finishes the targets the converter cannot convert safely and validates the project graph.
Convert @nx/eslint:lint targets to inferred tasks
Section titled “Convert @nx/eslint:lint targets to inferred tasks”Nx 24 removes the @nx/eslint:lint executor and its @nrwl/linter:eslint alias. The migration registers @nx/eslint/plugin in nx.json and converts the targets that use those executors to inferred tasks. The executor ran ESLint from the workspace root, so the registration sets cwd: "workspaceRoot" and path options stay relative to the workspace root. A root project keeps the default cwd. ESLint only finds a flat config (eslint.config.*) from its working directory, so a project whose nearest flat config sits below the workspace root lints with --config pointing at that file. Options the plugin does not infer stay on the target. Options the removed executor never defined are dropped, and the migration logs each one, because the inferred task would otherwise forward them and a key such as command replaces the command the task runs. A target with nothing left to override is removed from project configuration. When several projects share the same remaining options, those options move to a targetDefaults entry scoped to the plugin. targetDefaults entries keyed by a removed executor are removed once no target uses that executor.
The migration lists the targets the converter cannot convert safely. In agentic runs, an AI prompt finishes them and validates the project graph.
The inferred task passes its options and command-line flags to the ESLint CLI, which only accepts kebab-case names such as --max-warnings, --output-file, and --format. The migration renames options in project configuration, except options set to 0, false, or an empty string, such as maxWarnings: 0. Rename those by hand, and update scripts and CI commands that pass --maxWarnings or --outputFile to the ESLint names.
The inferred task also runs ESLint from the project root instead of the workspace root, so in legacy eslintrc mode a .eslintignore at the workspace root no longer applies. See Troubleshoot convert-to-inferred for how to handle it.
Sample code changes
Section titled “Sample code changes”Before
Section titled “Before”{ "name": "myapp", "targets": { "lint": { "executor": "@nx/eslint:lint", "options": { "eslintConfig": "myapp/.eslintrc.json" } } }}{ "plugins": [ { "plugin": "@nx/eslint/plugin", "options": { "targetName": "lint", "cwd": "workspaceRoot" } } ]}update-24-0-0-replace-set-parser-options-project
Section titled “update-24-0-0-replace-set-parser-options-project”Version: 24.0.0-beta.5
Replaces the removed setParserOptionsProject generator option with enableTypedLinting in the generator defaults of nx.json and project configuration, so generators resolve typed linting as before.
Replace setParserOptionsProject with enableTypedLinting in generator defaults
Section titled “Replace setParserOptionsProject with enableTypedLinting in generator defaults”Nx 24 removes the deprecated setParserOptionsProject generator option, which enableTypedLinting replaces. The migration rewrites the generator defaults in nx.json, in angular.json projects, in project.json files and in the nx key of project package.json files. It handles both the flat form (@nx/react:library) and the nested form (@nx/react -> library).
It covers every generator that accepted the option and still exists in Nx 24:
application:@nx/angular,@nx/detox,@nx/expo,@nx/express,@nx/nest,@nx/next,@nx/node,@nx/nuxt,@nx/react,@nx/react-native,@nx/vueand@nx/weblibrary:@nx/angular,@nx/expo,@nx/js,@nx/nest,@nx/next,@nx/node,@nx/react,@nx/react-nativeand@nx/vueconfiguration:@nx/cypressand@nx/playwright@nx/angular:add-lintingand@nx/plugin:plugin
Generators enabled typed linting when either option was true, and the migrated defaults keep that result. setParserOptionsProject: true becomes enableTypedLinting: true, and setParserOptionsProject: false is dropped. When the options are set in several places (nested and flat keys, nx.json, angular.json, project.json and package.json), the migration rewrites each one so the merged default doesn’t change.
The migration doesn’t update scripts that pass --setParserOptionsProject to nx g. Pass --enableTypedLinting instead. Most generators ignore the removed flag without an error, so an unchanged script generates projects without typed linting.
Sample code changes
Section titled “Sample code changes”Before
Section titled “Before”{ "generators": { "@nx/react:library": { "setParserOptionsProject": true }, "@nx/node": { "application": { "setParserOptionsProject": false, "framework": "express" } } }}{ "generators": { "@nx/react:library": { "enableTypedLinting": true }, "@nx/node": { "application": { "framework": "express" } } }}A project default of enableTypedLinting: false didn’t turn typed linting off while nx.json set setParserOptionsProject: true, so the migration sets it to true:
Before
Section titled “Before”{ "generators": { "@nx/react:library": { "enableTypedLinting": false } }}{ "generators": { "@nx/react:library": { "enableTypedLinting": true } }}23.1.x
Section titled “23.1.x”update-23-1-0-convert-to-flat-config
Section titled “update-23-1-0-convert-to-flat-config”Version: 23.1.0-beta.0
Convert remaining ESLint configs to flat config for ESLint v9 and keep the workspace lint-passing, disabling rules whose preset defaults changed.
Requires
Section titled “Requires”| Name | Version |
|---|---|
eslint | >=9.0.0 |
update-23-1-0-remove-removed-typescript-eslint-extension-rules
Section titled “update-23-1-0-remove-removed-typescript-eslint-extension-rules”Version: 23.1.0-beta.5
Handle typescript-eslint rules removed in v8 in ESLint flat configs, since referencing a removed rule stops the config from loading. Deletes the removed formatting/extension rules (e.g. @typescript-eslint/no-extra-semi) and rewrites the safe 1:1 renames (no-throw-literal -> only-throw-error, no-useless-template-literals -> no-unnecessary-template-expression) to preserve enforcement.
update-23-1-0-migrate-ban-types-rule
Section titled “update-23-1-0-migrate-ban-types-rule”Version: 23.1.0-beta.5
Migrate the removed @typescript-eslint/ban-types rule to its v8 successors (no-empty-object-type, no-unsafe-function-type, no-wrapper-object-types), whose options do not map 1:1 - so it is driven by an AI prompt rather than a deterministic codemod.
23.1.0-package-updates
Section titled “23.1.0-package-updates”Version: 23.1.0-beta.0
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
eslint | ^9.8.0 | Updated only |
typescript-eslint | ^8.40.0 | Updated only |
@typescript-eslint/eslint-plugin | ^8.40.0 | Updated only |
@typescript-eslint/parser | ^8.40.0 | Updated only |
@typescript-eslint/utils | ^8.40.0 | Updated only |
@typescript-eslint/type-utils | ^8.40.0 | Updated only |
@typescript-eslint/rule-tester | ^8.40.0 | Updated only |
@typescript-eslint/scope-manager | ^8.40.0 | Updated only |
@typescript-eslint/typescript-estree | ^8.40.0 | Updated only |
eslint-config-prettier | ^10.0.0 | Updated only |
23.1.0-typescript-eslint-package-updates
Section titled “23.1.0-typescript-eslint-package-updates”Version: 23.1.0-beta.0
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
typescript-eslint | ^8.58.0 | Updated only |
@typescript-eslint/eslint-plugin | ^8.58.0 | Updated only |
@typescript-eslint/parser | ^8.58.0 | Updated only |
@typescript-eslint/utils | ^8.58.0 | Updated only |
@typescript-eslint/rule-tester | ^8.58.0 | Updated only |
@typescript-eslint/scope-manager | ^8.58.0 | Updated only |
@typescript-eslint/typescript-estree | ^8.58.0 | Updated only |
23.1.0-@typescript-eslint-package-updates
Section titled “23.1.0-@typescript-eslint-package-updates”Version: 23.1.0-beta.0
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
typescript-eslint | ^8.58.0 | Updated only |
@typescript-eslint/eslint-plugin | ^8.58.0 | Updated only |
@typescript-eslint/parser | ^8.58.0 | Updated only |
@typescript-eslint/utils | ^8.58.0 | Updated only |
@typescript-eslint/rule-tester | ^8.58.0 | Updated only |
@typescript-eslint/scope-manager | ^8.58.0 | Updated only |
@typescript-eslint/typescript-estree | ^8.58.0 | Updated only |
23.0.x
Section titled “23.0.x”rewrite-eslint-internal-subpath-imports
Section titled “rewrite-eslint-internal-subpath-imports”Version: 23.0.0-beta.17
Rewrites @nx/eslint/src/* subpath imports now that the ./src/* subpath is no longer exposed by @nx/eslint’s exports map. Named imports/exports of public symbols are routed to @nx/eslint and the rest to the new @nx/eslint/internal entry; require, dynamic import and jest.mock calls reference the whole module and are routed to @nx/eslint/internal.
update-23-0-0-migrate-create-nodes-v2-import
Section titled “update-23-0-0-migrate-create-nodes-v2-import”Version: 23.0.0-beta.24
Rename imports of createNodesV2 from @nx/eslint/plugin to the canonical createNodes export.
Rename createNodesV2 imports to createNodes
Section titled “Rename createNodesV2 imports to createNodes”@nx/eslint renamed its primary inferred-plugin export from createNodesV2 to createNodes. The createNodesV2 name is preserved as a deprecated alias for now, but new code should use createNodes.
This migration scans every .ts, .tsx, .cts, and .mts file in your workspace and rewrites named imports and re-exports of createNodesV2 from @nx/eslint/plugin to createNodes.
Sample Code Changes
Section titled “Sample Code Changes”Before
Section titled “Before”import { createNodesV2 } from '@nx/eslint/plugin';import { createNodes } from '@nx/eslint/plugin';Aliases are preserved (createNodesV2 as cn becomes createNodes as cn), and if a file already imports both names ({ createNodes, createNodesV2 }) the redundant binding is dropped.
What is not rewritten
Section titled “What is not rewritten”Only static import/export named bindings from @nx/eslint/plugin are rewritten. Namespace imports, dynamic import(...), require(...) destructuring, and property access such as plugin.createNodesV2 are left untouched — they keep working through the createNodesV2 runtime alias. Update those by hand if you want to drop the deprecated name everywhere.
22.7.x
Section titled “22.7.x”update-executor-lint-inputs
Section titled “update-executor-lint-inputs”Version: 22.7.0-beta.12
Add missing inputs to @nx/eslint:lint executor target defaults
21.5.x
Section titled “21.5.x”21.5.0-typescript-eslint-package-updates
Section titled “21.5.0-typescript-eslint-package-updates”Version: 21.5.0-beta.2
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
typescript-eslint | ^8.40.0 | Updated only |
@typescript-eslint/eslint-plugin | ^8.40.0 | Updated only |
@typescript-eslint/parser | ^8.40.0 | Updated only |
@typescript-eslint/utils | ^8.40.0 | Updated only |
@typescript-eslint/rule-tester | ^8.40.0 | Updated only |
@typescript-eslint/scope-manager | ^8.40.0 | Updated only |
@typescript-eslint/typescript-estree | ^8.40.0 | Updated only |
21.5.0-@typescript-eslint-package-updates
Section titled “21.5.0-@typescript-eslint-package-updates”Version: 21.5.0-beta.2
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
typescript-eslint | ^8.40.0 | Updated only |
@typescript-eslint/eslint-plugin | ^8.40.0 | Updated only |
@typescript-eslint/parser | ^8.40.0 | Updated only |
@typescript-eslint/utils | ^8.40.0 | Updated only |
@typescript-eslint/rule-tester | ^8.40.0 | Updated only |
@typescript-eslint/scope-manager | ^8.40.0 | Updated only |
@typescript-eslint/typescript-estree | ^8.40.0 | Updated only |
21.2.x
Section titled “21.2.x”21.2.0-typescript-eslint-package-updates
Section titled “21.2.0-typescript-eslint-package-updates”Version: 21.2.0-beta.0
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
typescript-eslint | ^8.29.0 | Updated only |
@typescript-eslint/eslint-plugin | ^8.29.0 | Updated only |
@typescript-eslint/parser | ^8.29.0 | Updated only |
@typescript-eslint/utils | ^8.29.0 | Updated only |
@typescript-eslint/rule-tester | ^8.29.0 | Updated only |
@typescript-eslint/scope-manager | ^8.29.0 | Updated only |
@typescript-eslint/typescript-estree | ^8.29.0 | Updated only |
21.2.0-@typescript-eslint-package-updates
Section titled “21.2.0-@typescript-eslint-package-updates”Version: 21.2.0-beta.0
Packages
Section titled “Packages”The following packages will be updated:
| Name | Version | Always add to package.json |
|---|---|---|
typescript-eslint | ^8.29.0 | Updated only |
@typescript-eslint/eslint-plugin | ^8.29.0 | Updated only |
@typescript-eslint/parser | ^8.29.0 | Updated only |
@typescript-eslint/utils | ^8.29.0 | Updated only |
@typescript-eslint/rule-tester | ^8.29.0 | Updated only |
@typescript-eslint/scope-manager | ^8.29.0 | Updated only |
@typescript-eslint/typescript-estree | ^8.29.0 | Updated only |