refactor(linter/jsx-handler-names): simplify option checks for inline functions and local variables#13405
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull Request Overview
This PR simplifies the option parsing logic for the jsx-handler-names linter rule by using method chaining instead of nested if-let statements for boolean options.
- Refactored nested if-let statements to use
.and_then()method chaining for cleaner code - Removed redundant intermediate variable assignments and nested scoping
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
CodSpeed Instrumentation Performance ReportMerging #13405 will not alter performanceComparing Summary
Footnotes |
1eeae04 to
4879756
Compare
Merge activity
|
… functions and local variables (#13405)
4879756 to
d499400
Compare

No description provided.