-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
docs(eslint-plugin): Mention useUnknownInCatchVariables
in no-implicit-any-catch
#4252
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
Conversation
Thanks for the PR, @fregante! 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. |
❌ Deploy Preview for typescript-eslint failed. 🔨 Explore the source changes: 6f77aef 🔍 Inspect the deploy log: https://app.netlify.com/sites/typescript-eslint/deploys/61adae515cee1a00082b7c01 |
Codecov Report
@@ Coverage Diff @@
## main #4252 +/- ##
==========================================
+ Coverage 92.73% 93.35% +0.61%
==========================================
Files 335 152 -183
Lines 11542 8056 -3486
Branches 3289 2590 -699
==========================================
- Hits 10704 7521 -3183
+ Misses 364 179 -185
+ Partials 474 356 -118
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Damn that's a lot of bots 😂 |
useUnknownInCatchVariables
in no-implicit-any-catch
’s docsuseUnknownInCatchVariables
in no-implicit-any-catch
useUnknownInCatchVariables
in no-implicit-any-catch
useUnknownInCatchVariables
in no-implicit-any-catch
useUnknownInCatchVariables
in no-implicit-any-catch
useUnknownInCatchVariables
in no-implicit-any-catch
thanks! |
PR Checklist
Overview
microsoft/TypeScript#41013 added
useUnknownInCatchVariables
which impliesunknown
instead ofany
, meaning this rule is actually wrong when when that's enabled (because it's no longer "implicit any catch")