Skip to content

chore: set sortImports.partitionByComment to true - #23386

Open
btea wants to merge 1 commit into
vitejs:mainfrom
btea:chore/add-sortImports-partitionByComment
Open

chore: set sortImports.partitionByComment to true#23386
btea wants to merge 1 commit into
vitejs:mainfrom
btea:chore/add-sortImports-partitionByComment

Conversation

@btea

@btea btea commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

https://oxc.rs/docs/guide/usage/formatter/config-file-reference.html#sortimports-partitionbycomment

vite/eslint.config.js

Lines 2 to 3 in ee64401

import eslint from '@eslint/js'
import pluginImportX from 'eslint-plugin-import-x'

After swapping the second and third lines and running pnpm format, the third line becomes the first line, before the comment // @ts-check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant