Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
fix(typescript-estree): forbid invalid modifiers in object methods#11689
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
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 commentedOct 9, 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 commentedOct 9, 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 commite52f52e
☁️Nx Cloud last updated this comment at |
16fcab8 to995e312Comparecodecovbot commentedOct 9, 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✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## main #11689 +/- ##======================================= Coverage 90.67% 90.67% ======================================= Files 518 518 Lines 52466 52466 Branches 8694 8693 -1 =======================================+ Hits 47571 47572 +1+ Misses 4881 4880 -1 Partials 14 14
Flags with carried forward coverage won't be shown.Click here to find out more.
🚀 New features to boost your workflow:
|
| "expression/ObjectExpression/fixtures/_error_/getter-modifier-declare/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/getter-modifier-export/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/getter-modifier-override/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/getter-modifier-private/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/getter-modifier-protected/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/getter-modifier-public/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/getter-modifier-static/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/property-modifier-abstract/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/property-modifier-async/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/property-modifier-declare/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/property-modifier-export/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/property-modifier-override/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/property-modifier-private/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/property-modifier-protected/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/property-modifier-public/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/property-modifier-static/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/setter-modifier-declare/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/setter-modifier-export/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/setter-modifier-override/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/setter-modifier-private/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/setter-modifier-protected/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/setter-modifier-public/fixture.ts", | ||
| "expression/ObjectExpression/fixtures/_error_/setter-modifier-static/fixture.ts", |
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.
Turns out there is something wrong ingetModifiers() utility, I can't get all modifiers, so these are not easy to fix.
Let's keep these as TODO?
#11688 can be addressed in another PR.
JoshuaKGoldberg left a comment
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.
Thanks!
4eda303 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.
PR Checklist
Overview