fix(linter/import/no-duplicates): preserve type modifiers when merging imports#24466
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: be4070654d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Merging this PR will not alter performance
Comparing Footnotes
|
Merge activity
|
…g imports (#24466) ## Summary - fix import/no-duplicates when merging a top-level type import with a mixed value/type import - convert the target to inline type specifiers when required to keep the merged import syntactically valid - preserve type-only semantics for both import orderings - add regression coverage based on the Next.js ecosystem CI failure: https://github.com/oxc-project/oxc-ecosystem-ci/actions/runs/29248475854/job/86812762690
d7e7f66 to
261aa39
Compare
Summary