Skip to content

Enhancement(utils): Update types ESLint v9 Linter class (flat config) #8968

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Before You File a Proposal Please Confirm You Have Done The Following...

Relevant Package

utils

My proposal is suitable for this project

  • I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).

Description

Splitting out of #8211 / #8211 (comment):

API Users (mainly those that use utils/ts-eslint)

  • Switch Linter to flat config by default

We'd need to look more into the difference between the before and after here as to whether it actually makes a difference for consumers of our package. If it doesn't then all good we can tick and move on! If it does then we need to figure out a path forward here with the types. EG how can we support types that depend on the version of eslint the user has installed?

In summary: we need to update the TSESLint.Linter class within @typescript-eslint/utils/ts-eslint to have the same default behavior as the core ESLint.Linter class.

Additional Info

This isn't a good first issue. Someone who's already familiar with the classes & utilities in question should tackle this.

💖

Metadata

Metadata

Labels

accepting prsGo ahead, send a pull request that resolves this issueenhancementNew feature or requestlocked due to agePlease 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