This repository demonstrates an issue where Biome.js duplicates a top-line comment in vite.config.js when sorting imports with :BLANK_LINE:.
When running biome check --write on a vite.config.js file:
- The import sorting duplicates the first-line comment (
// some comment).
- This repository already contains:
- A
vite.config.jsfile with unsorted imports and a top-line comment// some comment - Biome configuration with
:BLANK_LINE:sorting rule
- A
- Run the command:
biome check --write ./vite.config.js