style(linter/react-perf): reorder imports#23226
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. |
Merge activity
|
There was a problem hiding this comment.
Pull request overview
Reorders use statements in the react_perf linter rules to group serde::Deserialize consistently at the top of each file, aligning import layout across these rules.
Changes:
- Move
use serde::Deserialize;to the top of each affectedreact_perfrule module. - Add a separating blank line to keep import groups visually distinct.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| crates/oxc_linter/src/rules/react_perf/jsx_no_new_object_as_prop.rs | Moves serde::Deserialize import to the top for consistent import grouping. |
| crates/oxc_linter/src/rules/react_perf/jsx_no_new_function_as_prop.rs | Moves serde::Deserialize import to the top for consistent import grouping. |
| crates/oxc_linter/src/rules/react_perf/jsx_no_new_array_as_prop.rs | Moves serde::Deserialize import to the top for consistent import grouping. |
| crates/oxc_linter/src/rules/react_perf/jsx_no_jsx_as_prop.rs | Moves serde::Deserialize import to the top for consistent import grouping. |
36fc91f to
3d1eb45
Compare
Merging this PR will not alter performance
Comparing Footnotes
|
3d1eb45 to
f94010e
Compare
5bd22aa to
4dd52de
Compare
f94010e to
92bb48f
Compare
92bb48f to
4edfd6a
Compare

No description provided.