Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ESLint v9 Support #8211

Copy link
Copy link
Closed
Closed
Copy link
@bradzacher

Description

@bradzacher
Issue body actions

The v8 versions of typescript-eslint starting with v8.0.0-alpha.10 now support ESLint v9. Hooray! 🙌

If you still have problems with typescript-eslint and ESLint v9:

  1. Please make sure you're using typescript-eslint@8.0.0-alpha.10 or newer
  2. Go through our issue chooser to file a new issue reporting your problems
    • That issue template includes searching for existing issues matching your problem - please do not file duplicate issues

Note that we do not plan on backporting ESLint v9 support to v7 versions of typescript-eslint. There are a lot of breaking changes inherent to our ESLint v9 support.


Previous issue body summarising work

ESLint has released v9.

Note that it contains breaking changes and as such we do not currently support it. It may work or it may not.

We are not accepting issues against v9 until we have official support - so please do not file issues with crashes or bugs for now and please do not comment on this issue telling us about crashes.

If you believe you have a bug when using ESLint v8 - please file a new issue.
If you need some help setting up / configuring your project - please visit our discord.

If you'd like to help contribute towards support feel free to comment!


Ongoing Work

Breaking Changes

  • correct camelcase rule schema for allow option
  • move AST traversal into SourceCode
  • disallow multiple configuration comments for same rule
  • default for enforceForClassMembers in no-useless-computed-key
  • no-unused-vars default caughtErrors to ‘all’: Enhancement: [no-unused-vars] Update for ESLint 9 defaults #8967
  • no-unused-vars varsIgnorePattern behavior with catch arguments: Enhancement: [no-unused-vars] Update for ESLint 9 defaults #8967
  • no-restricted-imports allow multiple config entries for same path
  • no-sequences rule schema correction
  • no-invalid-regexp make allowConstructorFlags case-sensitive
  • no-inner-declaration new default behaviour and option
  • add two more cases to no-implicit-coercion
  • Remove valid-jsdoc and require-jsdoc
  • handle --output-file for empty output when saving to disk
  • upgrade eslint-scope@8.0.0
  • configuration comments with just severity should retain options
  • Remove CodePath#currentSegments
  • remove no-inner-declarations from eslint:recommended
  • Rename FlatESLint to ESLint
  • skip running warnings in --quiet mode
  • Set default schema: [], drop support for function-style rules
  • Switch Linter to flat config by default: Enhancement(utils): Update types ESLint v9 Linter class (flat config) #8968
  • Parsing ‘exported’ comment using parseListConfig
  • Behavior of CLI when no arguments are passed
  • Update shouldUseFlatConfig and CLI so flat config is default
  • deprecate no-new-symbol, recommend no-new-native-nonconstructor
  • Update eslint:recommended configuration
  • drop support for string configurations in flat config array
  • Remove SourceCode#getComments()
  • Remove deprecated context methods
  • Swap FlatESLint-ESLint, FlatRuleTester-RuleTester in API Enhancement(utils): Swap FlatESLint-ESLint, FlatRuleTester-RuleTester in API #8970
  • remove formatters except html, json(-with-metadata), and stylish
  • Require Node.js ^18.18.0 || ^20.9.0 || >=21.1.0

Changes we're treating as non-breaking

Per discussion in #8211, these augmentations fix previous gaps in the RuleTester. We'll treat them as non-breaking bug fixes so they can land in the v7 major version ahead of v8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuedependenciesIssue about dependencies of the packageIssue about dependencies of the packagelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.