Packages

@typescript-eslint/parser

8.72.1 · 26 Oct 2026MIT180.1M / weekRepositoryHomepagenpmAtom feed

Your version

6.0.0

major10 Jul 2023Where it was published

6.21.0 is the newest release of 6.x.

In short

1 breaking3 removed2 deprecated28 new16 fixed40 internal

  • breaking

    Bump minimum TS to 4.3.5

  • removed

    ast-spec: Remove more invalid properties

  • removed

    typescript-estree: Remove optionality from AST boolean properties

  • removed

    Remove moduleResolver API

  • deprecated

    eslint-plugin: Deprecate no-type-alias

  • deprecated

    typescript-estree: Warn on deprecated AST property accesses

Release note

See the announcement blog post for a friendly description of all changes and CHANGELOG.md for a full organized list of them. 🎉

What's Changed

  • Made BaseNode.parent non-optional

  • experimental-utils: Console.warn on import of experimental-utils

  • Remove partial type-information program

  • deprecated

    eslint-plugin: Deprecate no-type-alias

  • typescript-estree: Wrap import = declaration in an export node

  • typescript-estree: Add type checker wrapper APIs to ParserServicesWithTypeInformation

  • Replace tsutils with ts-api-tools

  • eslint-plugin: Rework configs: recommended, strict, stylistic; -type-checked

  • Remove experimental-utils

  • removed

    ast-spec: Remove more invalid properties

  • eslint-plugin: Add config that disables type-aware linting

  • typescript-estree: Account for namespace nesting in AST conversion

  • Add package.json exports for public packages

  • Bumped ts-api-utils to 0.0.39

  • Rename typeParameters to typeArguments where needed

  • removed

    typescript-estree: Remove optionality from AST boolean properties

  • typescript-estree: Added allowInvalidAST option to not throw on invalid tokens

  • Update exports field in package.json files

  • Improve error location

  • typescript-estree: Throw errors on interface with implements

  • typescript-estree: Strict class heritage clauses check

  • typescript-estree: Check for illegal decorators on function declarations

  • typescript-estree: Throw errors for object methods without function bodies

  • typescript-estree: Fix error handling on ImportExpression

  • removed

    Remove moduleResolver API

  • deprecated

    typescript-estree: Warn on deprecated AST property accesses

  • eslint-plugin: Allow parser@^6.0.0

  • typescript-estree: Check modifiers on every node

  • typescript-estree: Throw errors when abstract property has initializer

  • typescript-estree: Allow writing to deprecated node properties

  • eslint-plugin: [prefer-readonly-parameter-types] added an optional type allowlist

  • typescript-estree: Forbid override on non-constructor function/methods

  • typescript-estree: Forbid members in Mapped Type

  • type-utils: Checking of type aliases' type names by typeMatchesSpecifier

  • breaking

    Bump minimum TS to 4.3.5

  • type-utils: Fixed TypeOrValueSpecifier not accounting for scoped DT packages

  • Improve rule schemas, add test to validate schemas, add tooling to generate schema types

  • Correct handling of additionalProperties in object schemas

  • Add new package rule-tester

  • Remove RuleTester in /utils in favour of the new /rule-tester package

  • Drop support for node v14 and test against node v20

  • eslint-plugin: [restrict-plus-operands] change checkCompoundAssignments to skipCompoundAssignments

  • type-utils: File variant of TypeOrValueSpecifier uses canonical filenames instead of lowercasing

  • Fix illegal decorator check

  • Fork json schema types for better compat with ESLint rule validation

  • eslint-plugin: Apply final v6 changes to configs

  • typescript-estree: Remove parseWithNodeMaps

  • eslint-plugin: Final final config changes for v6

  • eslint-plugin: [prefer-optional-chain] handle cases where the first operands are unrelated to the rest of the chain and add type info

  • type-utils: Treat intrinsic types as if they are from lib and never match error types