Skip to content

📝 Astro Formatter treats <Base> component as HTML <base> void element, removing closing tag #8678

@tuyuritio

Description

@tuyuritio

Environment information

Details
CLI:
  Version:                      2.3.11
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           windows

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  BIOME_THREADS:                unset
  NO_COLOR:                     unset
  TERM:                         unset
  JS_RUNTIME_VERSION:           v24.12.0
  JS_RUNTIME_NAME:              node
  NODE_PACKAGE_MANAGER:         pnpm/10.27.0

Biome Configuration:
  Status:                       Loaded successfully
  Path:                         biome.json
  Formatter enabled:            true
  Linter enabled:               true
  Assist enabled:               true
  VCS enabled:                  true
  HTML full support enabled:    true

Formatter:
  Format with errors:           unset
  Indent style:                 Tab
  Indent width:                 4
  Line ending:                  LF
  Line width:                   150
  Attribute position:           unset
  Bracket spacing:              true
  Includes:                     **, !package.json, !pnpm-lock.yaml

JavaScript Formatter:
  Enabled:                      unset
  JSX quote style:              unset
  Quote properties:             As needed
  Trailing commas:              None
  Semicolons:                   Always
  Arrow parentheses:            As needed
  Bracket spacing:              unset
  Bracket same line:            unset
  Quote style:                  Double Quotes
  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

"html": {
  "experimentalFullSupportEnabled": true
}

Playground link

https://biomejs.dev/playground/?code=LQAtAC0ACgBpAG0AcABvAHIAdAAgAEIAYQBzAGUAIABmAHIAbwBtACAAIgAkAGwAYQB5AG8AdQB0AHMALwBCAGEAcwBlAC4AYQBzAHQAcgBvACIAOwAKAC0ALQAtAAoACgA8AEIAYQBzAGUAIAB0AGkAdABsAGUAPQAiADUAMAAwACIAPgAKAAkAPABzAHAAYQBuAD4ANQAwADAAPAAvAHMAcABhAG4APgAKADwALwBCAGEAcwBlAD4ACgA%3D&language=astro

Code of Conduct

  • I agree to follow Biome's Code of Conduct

Metadata

Metadata

Assignees

Labels

A-ParserArea: parserL-HTMLLanguage: HTML and super languagesS-Bug-confirmedStatus: report has been confirmed as a valid bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions