Skip to content

Enhancement: remove deprecated helpers for ESLint context #8983

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
auvred opened this issue Apr 24, 2024 · 1 comment
Closed
4 tasks done

Enhancement: remove deprecated helpers for ESLint context #8983

auvred opened this issue Apr 24, 2024 · 1 comment
Labels
accepting prs Go ahead, send a pull request that resolves this issue breaking change This change will require a new major version to be released enhancement New feature or request locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
Milestone

Comments

@auvred
Copy link
Member

auvred commented Apr 24, 2024

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.

@auvred auvred added enhancement New feature or request triage Waiting for team members to take a look breaking change This change will require a new major version to be released accepting prs Go ahead, send a pull request that resolves this issue and removed triage Waiting for team members to take a look labels Apr 24, 2024
@auvred auvred added this to the 8.0.0 milestone Apr 24, 2024
@auvred
Copy link
Member Author

auvred commented Apr 30, 2024

#9000 was merged in v8

@auvred auvred closed this as completed Apr 30, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2024
@bradzacher bradzacher added the locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing. label Apr 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accepting prs Go ahead, send a pull request that resolves this issue breaking change This change will require a new major version to be released enhancement New feature or request locked due to age Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
Projects
None yet
Development

No branches or pull requests

2 participants