Skip to content

Enhancement(utils): Swap FlatESLint-ESLint, FlatRuleTester-RuleTester in API #8970

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

From #8211: we have references to what FlatESLint and FlatRuleTester, which are the old terms for what ESLint now just calls ESLint and RuleTester, respectively. We'll need to:

  1. Make sure any export like LegacyESLint as ESLint is exported as Legacy*
  2. Make sure any export like FlatESLint is renamed to FlatESLint as ESLint (or just ESLint)

I suppose we could also remove the Legacy* classes too? Though ESLint v9 still does support the legacy configs if you opt into them...

Additional Info

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

💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebreaking changeThis change will require a new major version to be releasedenhancementNew 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