Organize Imports in Biome

From the Biome cheat sheet ยท Assist Actions ยท verified Aug 2026

Organize Imports

Sort, merge, and group imports with the recommended source action.

json
{
  "assist": {
    "enabled": true,
    "actions": {
      "source": {
        "organizeImports": "on"
      }
    }
  }
}
โšก check --write applies enabled Assist actions
๐Ÿ’ก Groups define import blocks from top to bottom
๐Ÿ“Œ Side-effect imports are not sorted by default
๐Ÿ” The action also merges imports from the same source
assistimportsorganize-imports

Continue with Biome

Save the full cheat sheet or work through every related task.

More Biome tasks

Back to the full Biome cheat sheet