-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
breaking changeThis change will require a new major version to be releasedThis change will require a new major version to be releasedenhancementNew feature or requestNew feature or requestpackage: utilsIssues related to the @typescript-eslint/utils packageIssues related to the @typescript-eslint/utils package
Milestone
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
The getParserServices
function contains this comment:
// backwards compatibility check
// old versions of the parser would not return any parserServices unless parserOptions.project was set
Additionally, later on in that file:
const hasFullTypeInformation =
context.parserServices.hasFullTypeInformation ??
/* backwards compatible */ true;
Does that mean we can get rid of some of the code in that file?
Fail
n/a
Pass
n/a
Additional Info
No response
Metadata
Metadata
Assignees
Labels
breaking changeThis change will require a new major version to be releasedThis change will require a new major version to be releasedenhancementNew feature or requestNew feature or requestpackage: utilsIssues related to the @typescript-eslint/utils packageIssues related to the @typescript-eslint/utils package