Skip to content

Enhancement: remove deprecated helpers for ESLint context #8983

Closed
@auvred

Description

@auvred

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

// Wrappers around ESLint's deprecation of existing methods
/* eslint-disable deprecation/deprecation -- TODO - delete in the next major (v8) */

See https://eslint.org/blog/2023/09/preparing-custom-rules-eslint-v9/#from-context-to-sourcecode:

... we are deprecating all of the code-related methods on context and moving them to SourceCode

Additional Info

Followup for #8975 and #8399

Note:
The missing export related to these deprecated functions have been added in #8976 on the main branch, so it is better to wait until 1763889 is merged into v8 to avoid possible difficulties with merge conflicts.

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