Language-Specific Formatting in Biome

From the Biome cheat sheet ยท Formatter ยท verified Aug 2026

Language-Specific Formatting

Override JavaScript, JSON, and CSS formatting or parser options.

json
{
  "javascript": {
    "formatter": {
      "quoteStyle": "single",
      "semicolons": "asNeeded",
      "trailingCommas": "all"
    }
  },
  "json": {
    "formatter": {
      "trailingCommas": "none"
    }
  }
}
๐Ÿ’ก Language options override shared formatter settings
๐Ÿ“Œ Enable Tailwind directives for Tailwind CSS syntax
๐Ÿ” JSONC gets comment and trailing-comma parser defaults
โšก Keep project conventions explicit for predictable diffs
javascriptjsoncsstailwind

Continue with Biome

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

More Biome tasks

Back to the full Biome cheat sheet