From a34c4991a036b8028e9dc4cc43ef3eedee30f697 Mon Sep 17 00:00:00 2001 From: re2zero Date: Mon, 17 Aug 2026 02:26:19 +0800 Subject: [PATCH] fix(biome): add .css to default fileTypes for CSS language support Biome 2.x fully supports CSS parsing, formatting, linting, and assist actions via its CLI and LSP proxy. The built-in Biome client config did not include .css in its fileTypes array, causing OMP to skip Biome for CSS files even when the project's biome.json enables CSS rules. This change adds .css to the default fileTypes so that projects with CSS files automatically route through Biome without needing a per-project override of the full fileTypes array. Closes #8735 --- packages/coding-agent/src/lsp/defaults.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/coding-agent/src/lsp/defaults.json b/packages/coding-agent/src/lsp/defaults.json index 3eaacf4f9..b3c414241 100644 --- a/packages/coding-agent/src/lsp/defaults.json +++ b/packages/coding-agent/src/lsp/defaults.json @@ -69,7 +69,7 @@ "biome": { "command": "biome", "args": ["lsp-proxy"], - "fileTypes": [".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs", ".json", ".jsonc"], + "fileTypes": [".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs", ".json", ".jsonc", ".css"], "rootMarkers": ["biome.json", "biome.jsonc"], "isLinter": true }, @@ -502,4 +502,4 @@ "rootMarkers": [".swiftlint.yml", ".swiftlint.yaml", "Package.swift", "*.xcodeproj"], "isLinter": true } -} +} \ No newline at end of file