Environment information
Details
❯ bunx biome rage
CLI:
Version: 2.4.8
Color support: true
Platform:
CPU Architecture: x86_64
OS: windows
Environment:
BIOME_LOG_PATH: unset
BIOME_LOG_PREFIX_NAME: unset
BIOME_LOG_LEVEL: unset
BIOME_LOG_KIND: unset
BIOME_CONFIG_PATH: unset
BIOME_THREADS: unset
BIOME_WATCHER_KIND: unset
BIOME_WATCHER_POLLING_INTERVAL: unset
NO_COLOR: unset
TERM: unset
JS_RUNTIME_VERSION: v24.10.0
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: bun/1.3.10
Biome Configuration:
Status: Loaded successfully
Path: biome.jsonc
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: true
HTML full support enabled: unset
Workspace:
Open Documents: 0
What happened?
bunx biome check . --reporter=json-pretty
{
"severity": "error",
"message": "The imports and exports are not sorted.",
"category": "assist/source/organizeImports",
"location": {
"path": "typescript\src\account\setup-passkey.tsx",
"start": { "line": 1, "column": 1 },
"end": { "line": 6, "column": 26 }
},
"advices": []
},
The path uses unescaped backslashes, which makes the JSON invalid.
Expected result
{
"severity": "error",
"message": "The imports and exports are not sorted.",
"category": "assist/source/organizeImports",
"location": {
"path": "typescript/src/account/setup-passkey.tsx",
"start": { "line": 1, "column": 1 },
"end": { "line": 6, "column": 26 }
},
"advices": []
},
or
{
"severity": "error",
"message": "The imports and exports are not sorted.",
"category": "assist/source/organizeImports",
"location": {
"path": "typescript\\src\\account\\setup-passkey.tsx",
"start": { "line": 1, "column": 1 },
"end": { "line": 6, "column": 26 }
},
"advices": []
},
Code of Conduct
Environment information
Details
What happened?
bunx biome check . --reporter=json-pretty{ "severity": "error", "message": "The imports and exports are not sorted.", "category": "assist/source/organizeImports", "location": { "path": "typescript\src\account\setup-passkey.tsx", "start": { "line": 1, "column": 1 }, "end": { "line": 6, "column": 26 } }, "advices": [] },The
pathuses unescaped backslashes, which makes the JSON invalid.Expected result
{ "severity": "error", "message": "The imports and exports are not sorted.", "category": "assist/source/organizeImports", "location": { "path": "typescript/src/account/setup-passkey.tsx", "start": { "line": 1, "column": 1 }, "end": { "line": 6, "column": 26 } }, "advices": [] },or
{ "severity": "error", "message": "The imports and exports are not sorted.", "category": "assist/source/organizeImports", "location": { "path": "typescript\\src\\account\\setup-passkey.tsx", "start": { "line": 1, "column": 1 }, "end": { "line": 6, "column": 26 } }, "advices": [] },Code of Conduct