-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
chore: enabled eslint-plugin-perfectionist on utils #9698
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
chore: enabled eslint-plugin-perfectionist on utils #9698
Conversation
Thanks for the PR, @JoshuaKGoldberg! 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. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9698 +/- ##
=======================================
Coverage 88.01% 88.01%
=======================================
Files 406 406
Lines 13879 13879
Branches 4055 4055
=======================================
Hits 12216 12216
Misses 1354 1354
Partials 309 309
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Co-authored-by: Brad Zacher <brad.zacher@gmail.com>
I'm -0.5 on proceeding with this due to the |
Have we got an issue filed upstream? |
Filed azat-io/eslint-plugin-perfectionist#223. There's a Edit: shoutout & thanks @hugop95 for azat-io/eslint-plugin-perfectionist#223 (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.
🚀😁
export type GlobalVariableOptionBase = | ||
| 'off' | ||
| 'readable' | ||
| 'readonly' | ||
| 'writable' | ||
| /** @deprecated use `'writable'` */ 'writeable' | ||
| /** @deprecated use `'readonly'` */ 'readable'; | ||
| /** @deprecated use `'writable'` */ 'writable' | ||
| /** @deprecated use `'readonly'` */ 'writeable'; | ||
export type GlobalVariableOptionBoolean = | ||
| /** @deprecated use `'writable'` */ true | ||
| /** @deprecated use `'readonly'` */ false; | ||
| /** @deprecated use `'writable'` */ false | ||
| /** @deprecated use `'readonly'` */ true; |
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.
The comments are out of place now.
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.
Oh, nice! Thanks for the catch :)
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.
files?: ( | ||
| string | ||
// yes, a single layer of array nesting is supported | ||
| string[] | ||
// yes, a single layer of array nesting is supported | ||
| string |
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.
The comment should still be before string[]
.
PR Checklist
Overview
Enables
eslint-plugin-perfectionist
on just one package to start:packages/utils
.