The error for html.formatter.selfCloseVoidElements includes the following:
- β Expected a matching closing tag but instead found '</style>'.
- βΉ Expected a matching closing tag here.
- β Void elements should not have a closing tag.
These messages straight-up contradict themselves.
Presumably
|
expected_node("matching closing tag", range, p).into_diagnostic(p) |
is being triggered incorrectly.
Environment information
CLI:
Version: 2.3.1
Color support: true
Platform:
CPU Architecture: aarch64
OS: macos
Environment:
BIOME_LOG_PATH: unset
BIOME_LOG_PREFIX_NAME: unset
BIOME_CONFIG_PATH: unset
BIOME_THREADS: unset
NO_COLOR: unset
TERM: xterm-256color
JS_RUNTIME_VERSION: v24.10.0
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: bun/1.3.1
Biome Configuration:
Status: Loaded successfully
Path: biome.json
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: true
Formatter:
Format with errors: unset
Indent style: Space
Indent width: 2
Line ending: unset
Line width: unset
Attribute position: unset
Bracket spacing: unset
Includes: unset
JavaScript Formatter:
Enabled: unset
JSX quote style: unset
Quote properties: unset
Trailing commas: unset
Semicolons: unset
Arrow parentheses: unset
Bracket spacing: unset
Bracket same line: unset
Quote style: unset
Indent style: unset
Indent width: unset
Line ending: unset
Line width: unset
Attribute position: unset
JSON Formatter:
Enabled: unset
Indent style: unset
Indent width: unset
Line ending: unset
Line width: unset
Trailing Commas: unset
Expand lists: unset
CSS Formatter:
Enabled: unset
Indent style: unset
Indent width: unset
Line ending: unset
Line width: unset
Quote style: unset
GraphQL Formatter:
Enabled: unset
Indent style: unset
Indent width: unset
Line ending: unset
Line width: unset
Bracket spacing: unset
Quote style: unset
Workspace:
Open Documents: 0
Configuration
N/A
Playground link
https://biomejs.dev/playground/?analyzerFixMode=safeAndUnsafeFixes&code=PABmAGkAZQBsAGQAcwBlAHQAPgAKACAAIAA8AHMAdQBtAG0AYQByAHkAPgBBAGwAZwAgADwAYgB1AHQAdABvAG4AIABpAGQAPQAiAHMAZQB0AC0AcwBlAGEAcgBjAGgALQBhAGwAZwAiAD4AQQBwAHAAbAB5ACAAYQBsAGcAIAB0AG8AIABkAGUAZgBhAHUAbAB0ACAAcABhAHQAdABlAHIAbgAgAGEAbgBkACAAcwBlAHQAIABhAHMAIABzAGUAYQByAGMAaAAgAGcAbwBhAGwAPAAvAGIAdQB0AHQAbwBuAD4APAAvAHMAdQBtAG0AYQByAHkAPgAKACAAIAA8AGIAcgA%2BAAoAIAAgADwAaQBuAHAAdQB0ACAAaQBkAD0AIgBzAGUAYQByAGMAaAAtAGEAbABnACIAIABwAGwAYQBjAGUAaABvAGwAZABlAHIAPQAiAEEAbABnACIAPgA8AC8AaQBuAHAAdQB0AD4ACgA8AC8AZgBpAGUAbABkAHMAZQB0AD4A&language=html&ruleDomains.react=recommended&ruleDomains.test=recommended&ruleDomains.next=recommended&ruleDomains.project=recommended
Code of Conduct
The error for
html.formatter.selfCloseVoidElementsincludes the following:These messages straight-up contradict themselves.
Presumably
biome/crates/biome_html_parser/src/syntax/parse_error.rs
Line 63 in be79a6b
Environment information
Configuration
N/A
Playground link
https://biomejs.dev/playground/?analyzerFixMode=safeAndUnsafeFixes&code=PABmAGkAZQBsAGQAcwBlAHQAPgAKACAAIAA8AHMAdQBtAG0AYQByAHkAPgBBAGwAZwAgADwAYgB1AHQAdABvAG4AIABpAGQAPQAiAHMAZQB0AC0AcwBlAGEAcgBjAGgALQBhAGwAZwAiAD4AQQBwAHAAbAB5ACAAYQBsAGcAIAB0AG8AIABkAGUAZgBhAHUAbAB0ACAAcABhAHQAdABlAHIAbgAgAGEAbgBkACAAcwBlAHQAIABhAHMAIABzAGUAYQByAGMAaAAgAGcAbwBhAGwAPAAvAGIAdQB0AHQAbwBuAD4APAAvAHMAdQBtAG0AYQByAHkAPgAKACAAIAA8AGIAcgA%2BAAoAIAAgADwAaQBuAHAAdQB0ACAAaQBkAD0AIgBzAGUAYQByAGMAaAAtAGEAbABnACIAIABwAGwAYQBjAGUAaABvAGwAZABlAHIAPQAiAEEAbABnACIAPgA8AC8AaQBuAHAAdQB0AD4ACgA8AC8AZgBpAGUAbABkAHMAZQB0AD4A&language=html&ruleDomains.react=recommended&ruleDomains.test=recommended&ruleDomains.next=recommended&ruleDomains.project=recommended
Code of Conduct