Packages

@typescript-eslint/typescript-estree

8.73.0 · 16 Nov 2026MIT224M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major13 Aug 2019Where it was published

2.34.0 is the newest release of 2.x.

In short

6 breaking1 removed2 new2 fixed8 changed

  • Breaking

    Node 6 is no longer supported.

  • Breaking

    eslint-plugin: Removed hardcoded checks which prevented some rules from running on non-TypeScript files (i.e. files that are not *.ts/*.tsx).

  • Breaking

    eslint-plugin: Removed deprecated rule prefer-interface. This rule was replaced by consistent-type-definitions.

  • Breaking

    eslint-plugin: Removed deprecated rule no-triple-slash-reference. This rule was replaced by triple-slash-reference

  • Breaking

    eslint-plugin: Merged both no-angle-bracket-type-assertion and no-object-literal-type-assertion into one rule - consistent-type-assertions.

  • Breaking

    eslint-plugin: explicit-function-return-type no longer treats export default () => {} as an expression for the purposes of the allowExpressions option.

  • Removed

    eslint-plugin: remove deprecated rules

Release note

The section about @typescript-eslint/typescript-estree of a note shared by several packages.

Breaking changes

  • Breaking

    Node 6 is no longer supported.

  • Breaking

    eslint-plugin: Removed hardcoded checks which prevented some rules from running on non-TypeScript files (i.e. files that are not *.ts/*.tsx).

    • Some users with mixed TS/JS codebases may now see some TypeScript-specific rules being reported against JS files.

    • Please use ESLint's "overrides" config to select which files to apply rules to.

  • Breaking

    eslint-plugin: Removed deprecated rule prefer-interface. This rule was replaced by consistent-type-definitions.

  • Breaking

    eslint-plugin: Removed deprecated rule no-triple-slash-reference. This rule was replaced by triple-slash-reference

  • Breaking

    eslint-plugin: Merged both no-angle-bracket-type-assertion and no-object-literal-type-assertion into one rule - consistent-type-assertions.

  • Breaking

    eslint-plugin: explicit-function-return-type no longer treats export default () => {} as an expression for the purposes of the allowExpressions option.

  • Breaking

    eslint-plugin: Changed a number of the default rule configs:

    • explicit-function-return-type - allowTypedFunctionExpressions and allowHigherOrderFunctions are now both true by default.

    • no-inferrable-types - ignoreParameters and ignoreProperties are now both false by default.

    • no-this-alias - allowDestructuring is now true by default.

  • Breaking

    eslint-plugin: Reworked the recommended configs:

    • plugin:@typescript-eslint/recommended

      • This is our slim, recommended set of rules. This config does not require type information, so it can be easily dropped into an existing config.

    • plugin:@typescript-eslint/recommended-requiring-type-checking

      • This is a slightly expanded set of rules, intended to be used in conjunction with plugin:@typescript-eslint/recommended. These rules specifically require type information. We separated these rules into a separate config to ease adoption and to make the base recommended "fast-by-default".

    • plugin:@typescript-eslint/eslint-recommended

      • This config is a compatibility config that disables rules from eslint:recommended which are already handled by TypeScript.

    • plugin:@typescript-eslint/all

      • This config simply turns on every single rule available in the plugin.

    • The intention is that you can use all the configs together, as they build upon one-another:

      {
        "extends": [
          "eslint:recommended",
          "plugin:@typescript-eslint/eslint-recommended",
          "plugin:@typescript-eslint/recommended",
          "plugin:@typescript-eslint/recommended-requiring-type-checking"
        ]
      }

Bug Fixes

  • typescript-estree: fix is token typed as Keyword

  • typescript-estree: jsx comment parsing

Features

  • Explicitly support eslint v6

  • Removed

    eslint-plugin: remove deprecated rules

  • typescript-estree: throw error on file not in project when project set (#760) (3777b77), closes #760

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.