Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
feat(typescript-estree): forbid invalid keys inEnumMember#11497
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
feat(typescript-estree): forbid invalid keys inEnumMember#11497
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thanks for the PR,@fisker! 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 onhttps://opencollective.com/typescript-eslint. |
netlifybot commentedAug 18, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
✅ Deploy Preview fortypescript-eslint ready!
To edit notification comments on pull requests, go to yourNetlify project configuration. |
nx-cloudbot commentedAug 18, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
View yourCI Pipeline Execution ↗ for commitfb5506b
☁️Nx Cloud last updated this comment at |
fisker commentedAug 18, 2025
Looks like this is still an issue,#11232 (comment), any idea to fix it? |
fisker commentedAug 18, 2025
I'm not sure what I did, but CI passes now. |
codecovbot commentedAug 18, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (68.29%) is below the target coverage (90.00%). You can increase the patch coverage or adjust thetarget coverage. Additional details and impacted files@@ Coverage Diff @@## main #11497 +/- ##==========================================- Coverage 90.87% 90.84% -0.03%========================================== Files 505 505 Lines 51146 51167 +21 Branches 8424 8422 -2 ==========================================+ Hits 46480 46485 +5- Misses 4652 4668 +16 Partials 14 14
Flags with carried forward coverage won't be shown.Click here to find out more.
🚀 New features to boost your workflow:
|
fe02b99 to2ac5502Compare| constid=node.id; | ||
| TSEnumMember:{ | ||
| handler:(node:TSESTree.TSEnumMember,validator):void=>{ | ||
| // Unknown reason, can't get the correct type |
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.
It looks like the problem with these types is that this PR is missing a corresponding change in packages/types/src/ts-estree.ts.
See
typescript-eslint/packages/types/src/ts-estree.ts
Lines 197 to 202 ina0c30f2
| interfaceTSEnumMemberComputedName{ | |
| parent:TSESTree.TSEnumBody; | |
| } | |
| interfaceTSEnumMemberNonComputedName{ | |
| parent:TSESTree.TSEnumBody; | |
| } |
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.
I've pushedde0e9ff to clean them up 👍
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.
Great! Thanks!
kirkwaiblinger commentedAug 27, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Approving in that
Will give@bradzacher a chance to double-check in case before merging |
ee3efa7 intotypescript-eslint:mainUh oh!
There was an error while loading.Please reload this page.

Uh oh!
There was an error while loading.Please reload this page.
This reverts commit7648622.
PR Checklist
EnumMember#11495Overview