Closed
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I have searched for related issues and found none that match my proposal.
- I have searched the current rule list and found no rules that match my proposal.
- I have read the FAQ and my problem is not listed.
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
typescript-eslint/packages/utils/src/eslint-utils/context.ts
Lines 1 to 2 in b0f7aa4
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 toSourceCode
Additional Info
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.