-
-
Notifications
You must be signed in to change notification settings - Fork 526
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
feat(linter/jsdoc): Implement require-param rule #3554
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
How to fix this..? |
CodSpeed Performance ReportMerging #3554 will not alter performanceComparing Summary
|
It seems like there is a huge performance regression, would you like to investigate? |
I found two intresting cases where we can implement line or block ignore: |
Thanks!
Yes..., I will try it later. 😢 |
About previous rules, I have been re-implemented them in an efficient way, by first understanding all the implementation (and test cases and configuration). However, this time, this rule was so complex and I gave up. So basically code flow is following the original. Then, how to fix this... 🤔 Notes: Add |
Oh~~~, thank you very much indeed! (I've just learned such view exists...)
I will try! 💪🏻 |
🎉 |
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.
Nice work! Learned something new!
## [0.4.3] - 2024-06-07 ### Features - 1fb9d23 linter: Add fixer for no-useless-fallback-in-spread rule (#3544) (Don Isaac) - 6506d08 linter: Add fixer for no-single-promise-in-promise-methods (#3531) (Don Isaac) - daf559f linter: Eslint-plugin-jest/no-large-snapshot (#3436) (cinchen) - 4c17bc6 linter: Eslint/no-constructor-return (#3321) (谭光志) - 4a075cc linter/jsdoc: Implement require-param rule (#3554) (Yuji Sugiura) - 747500a linter/jsdoc: Implement require-returns-type rule (#3458) (Yuji Sugiura) - 6b39654 linter/tree-shaking: Support options (#3504) (Wang Wenzhe) - 0cdb45a oxc_codegen: Preserve annotate comment (#3465) (IWANABETHATGUY) ### Bug Fixes - b188778 linter/eslint: Fix `require-await` false positives in `ForOfStatement`. (#3457) (rzvxa) - 350cd91 parser: Should parser error when function declaration has no name (#3461) (Dunqing) Co-authored-by: Boshen <Boshen@users.noreply.github.com>
Part of #1170
NOTE:
config.useDefaultObjectProperties
is not implemented for now.