-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(eslint-plugin): [no-unnecessary-condition] check type predicates based on assignability #11799
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
base: main
Are you sure you want to change the base?
Conversation
|
Thanks for the PR, @kirkwaiblinger! 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. |
�� Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run-many -t lint |
❌ Failed | 3m 12s | View ↗ |
nx test eslint-plugin --coverage=false |
✅ Succeeded | 5m 13s | View ↗ |
nx run-many -t typecheck |
✅ Succeeded | 2m 10s | View ↗ |
nx test eslint-plugin-internal --coverage=false |
✅ Succeeded | 10s | View ↗ |
nx test typescript-estree --coverage=false |
✅ Succeeded | 2s | View ↗ |
nx run types:build |
✅ Succeeded | 2s | View ↗ |
nx run generate-configs |
✅ Succeeded | 6s | View ↗ |
nx run integration-tests:test |
✅ Succeeded | 3s | View ↗ |
Additional runs (29) |
✅ Succeeded | ... | View ↗ |
☁️ Nx Cloud last updated this comment at 2025-11-26 10:40:13 UTC
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (89.13%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #11799 +/- ##
==========================================
- Coverage 90.49% 90.49% -0.01%
==========================================
Files 522 523 +1
Lines 53357 53385 +28
Branches 8909 8919 +10
==========================================
+ Hits 48284 48309 +25
- Misses 5057 5059 +2
- Partials 16 17 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|


PR Checklist
checkTypePredicates#11798Overview
TODO