-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(typescript-estree): deprecate createDefaultProgram #5890
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
feat(typescript-estree): deprecate createDefaultProgram #5890
Conversation
Thanks for the PR, @JoshuaKGoldberg! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## v6 #5890 +/- ##
==========================================
+ Coverage 91.36% 91.44% +0.07%
==========================================
Files 364 355 -9
Lines 12134 12058 -76
Branches 3540 3530 -10
==========================================
- Hits 11086 11026 -60
+ Misses 748 733 -15
+ Partials 300 299 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
note: marking as a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/typescript-estree/src/create-program/createDefaultProgram.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
@@ -208,7 +208,7 @@ interface ParseAndGenerateServicesOptions extends ParseOptions { | |||
|
|||
/** | |||
* @deprecated - this flag will be removed in the next major. | |||
* Do not rely on the behaviour provided by this flag. | |||
* Do not rely on the behavior provided by this flag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😂 cspell was yelling at me!
BREAKING CHANGE:
Renames a part of the public typescript-estree API
PR Checklist
Overview
Renames
createDefaultProgram
todeprecated__createDefaultProgram
, with associated@deprecated
TSDoc tags and warnings.