@nx/eslint:migrations | Nx

Migration References

Here is a list of all migrations available for this package.

  • 20.4.x

  • 20.4.0-typescript-eslint-package-updates

    Version: 20.4.0-beta.1

    Requires

    NameVersion
    typescript-eslint>8.0.0 <8.19.0

    Packages

    NameVersionAlways Add to package.json
    typescript-eslint^8.19.0Update only
    @typescript-eslint/eslint-plugin^8.19.0Update only
    @typescript-eslint/parser^8.19.0Update only
    @typescript-eslint/utils^8.19.0Update only
    @typescript-eslint/rule-tester^8.19.0Update only
    @typescript-eslint/scope-manager^8.19.0Update only
    @typescript-eslint/typescript-estree^8.19.0Update only

    20.4.0-@typescript-eslint-package-updates

    Version: 20.4.0-beta.1

    Requires

    NameVersion
    @typescript-eslint/eslint-plugin>8.0.0 <8.19.0

    Packages

    NameVersionAlways Add to package.json
    typescript-eslint^8.19.0Update only
    @typescript-eslint/eslint-plugin^8.19.0Update only
    @typescript-eslint/parser^8.19.0Update only
    @typescript-eslint/utils^8.19.0Update only
    @typescript-eslint/rule-tester^8.19.0Update only
    @typescript-eslint/scope-manager^8.19.0Update only
    @typescript-eslint/typescript-estree^8.19.0Update only
  • 20.3.x

  • add-file-extensions-to-overrides

    Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)

    Version: 20.3.0-beta.1

    Update ESLint Config File Extensions in Overrides

    Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)

    Sample Code Changes

    Add .cjs, .mjs, .cts, .mts file extensions to overrides converted using convert-to-flat-config

    eslint.config.js
    1const { FlatCompat } = require('@eslint/eslintrc'); 2const js = require('@eslint/js'); 3const nxEslintPlugin = require('@nx/eslint-plugin'); 4 5const compat = new FlatCompat({ 6 baseDirectory: __dirname, 7 recommendedConfig: js.configs.recommended, 8}); 9 10module.exports = [ 11 ...compat 12 .config({ 13 extends: ['plugin:@nx/typescript'], 14 }) 15 .map((config) => ({ 16 ...config, 17 files: ['**/*.ts', '**/*.tsx'], 18 rules: { 19 ...config.rules, 20 }, 21 })), 22 ...compat 23 .config({ 24 extends: ['plugin:@nx/javascript'], 25 }) 26 .map((config) => ({ 27 ...config, 28 files: ['**/*.js', '**/*.jsx'], 29 rules: { 30 ...config.rules, 31 }, 32 })), 33]; 34
  • 20.2.x

  • update-typescript-eslint-v8.13.0

    Update TypeScript ESLint packages to v8.13.0 if they are already on v8

    Version: 20.2.0-beta.5

    Update TypeScript ESLint to v8.13.0

    Update TypeScript ESLint packages to v8.13.0 if they are already on v8

    Sample Code Changes

    This migration will update typescript-eslint, @typescript-eslint/eslint-plugin, @typescript-eslint/parser and @typescript-eslint/utils to 8.13.0 if they are between version 8.0.0 and 8.13.0.

    package.json
    1{ 2 "devDependencies": { 3 "typescript-eslint": "^8.0.0", 4 "@typescript-eslint/eslint-plugin": "^8.0.0", 5 "@typescript-eslint/parser": "^8.0.0", 6 "@typescript-eslint/utils": "^8.0.0" 7 } 8} 9
  • 19.5.x

  • 19.5.0-package-updates

    Version: 19.5.0-beta.1

    Packages

    NameVersionAlways Add to package.json
    @typescript-eslint/parser^7.16.0Update only
    @typescript-eslint/eslint-plugin^7.16.0Update only
    @typescript-eslint/utils^7.16.0Update only
    @typescript-eslint/rule-tester^7.16.0Update only
    @typescript-eslint/scope-manager^7.16.0Update only
    @typescript-eslint/typescript-estree^7.16.0Update only
  • 18.2.x

  • 18.2.0-package-updates

    Version: 18.2.0-beta.0

    Packages

    NameVersionAlways Add to package.json
    @typescript-eslint/parser^7.3.0Update only
    @typescript-eslint/eslint-plugin^7.3.0Update only
    @typescript-eslint/utils^7.3.0Update only
    eslint~8.57.0Update only
  • 17.3.x

  • 17.3.0-package-updates

    Version: 17.3.0-beta.0

    Packages

    NameVersionAlways Add to package.json
    @typescript-eslint/parser^6.13.2Update only
    @typescript-eslint/eslint-plugin^6.13.2Update only
    @typescript-eslint/utils^6.13.2Update only
  • 17.2.x

  • move-options-to-target-defaults

    Move executor options to target defaults

    Version: 17.2.9

    17.2.0-package-updates

    Version: 17.2.0-beta.2

    Packages

    NameVersionAlways Add to package.json
    eslint~8.48.0Update only

    simplify-eslint-patterns

    Simplify eslintFilePatterns

    Version: 17.2.0-beta.0
  • 17.1.x

  • update-typescript-eslint

    Updates for @typescript-utils/utils v6.9.1+

    Version: 17.1.0-beta.1

    17.1.0-package-updates

    Version: 17.1.0-beta.1

    Packages

    NameVersionAlways Add to package.json
    @typescript-eslint/parser^6.9.1Update only
    @typescript-eslint/eslint-plugin^6.9.1Update only
    @typescript-eslint/utils^6.9.1Update only
  • 17.0.x

  • 17.0.0-package-updates

    Version: 17.0.0-rc.2

    Packages

    NameVersionAlways Add to package.json
    eslint-config-prettier^9.0.0Update only

    update-17-0-0-rename-to-eslint

    update-17-0-0-rename-to-eslint

    Version: 17.0.0-beta.7