-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix(eslint-plugin): [prefer-readonly] refine report locations #8894
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
fix(eslint-plugin): [prefer-readonly] refine report locations #8894
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 site configuration. |
* out in front of the key, and the key itself, but not anything afterwards, | ||
* i.e. parens, type annotations, method bodies, or `?`. | ||
*/ | ||
function getReportLoc( |
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.
extract and reuse utilities from #8869
fa24b6b
to
b5cad08
Compare
#8869 has been merged now, so I'll work on this soon to open it up for review |
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.
LGTM in theory, nice @kirkwaiblinger! Is this ready for merge from main
now that #8869 is merged?
@JoshuaKGoldberg Not quite yet. I have a branch on my machine which does that and incorporates #8869. Just need to clean it up slightly before pushing and undrafting. |
b5cad08
to
c963914
Compare
* out in front of the key, and the key itself, but not anything afterwards, | ||
* i.e. parens, type annotations, method bodies, or `?`. | ||
*/ | ||
function getMissingAccessibilityReportLoc( |
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.
These functions are just moved to their own file so they can be shared
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.
🚀 super!
Blocked by #8869 since they'll use a shared utilityPR Checklist
Overview