From e1ce8019fab5b4e35fe55268f1346bd0e1cb277e Mon Sep 17 00:00:00 2001 From: elbasel-404 Date: Fri, 7 Nov 2025 15:10:38 +0200 Subject: [PATCH] Add Tailwind CSS directives to biome.json as of [biomejs/biome@f66b0c5](https://github.com/biomejs/biome/commit/f66b0c52d1c0b5ac3d462310462cf1613b862a7d) this option is used to format css files that has tailwind directives. ex: `@import "tailwindcss";` Not having this options causes the `biome format` command to fail --- packages/create-next-app/templates/app-tw/ts/biome.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/create-next-app/templates/app-tw/ts/biome.json b/packages/create-next-app/templates/app-tw/ts/biome.json index 41b3b952cd90b8..733cb4d5b20976 100644 --- a/packages/create-next-app/templates/app-tw/ts/biome.json +++ b/packages/create-next-app/templates/app-tw/ts/biome.json @@ -33,5 +33,10 @@ "organizeImports": "on" } } + }, + "css": { + "parser": { + "tailwindDirectives": true + } } }