Angular

Angular-specific configuration for Ultracite.

The Angular configuration has Angular-specific HTML parser settings to support Angular template syntax.

Installation

Add the Angular configuration to your biome.jsonc:

biome.jsonc
{
  "extends": ["ultracite/core", "ultracite/angular"]
}

Overview

This configuration adds support for Angular's template syntax:

  • HTML Interpolation: Enables parsing of Angular template interpolation syntax ({{ }})
  • Template Directives: Supports Angular directives like *ngIf, *ngFor, etc.
  • Property Binding: Handles Angular property binding syntax [property]="value"
  • Event Binding: Supports event binding syntax (event)="handler()"

Configuration

The Angular preset configures the HTML parser to recognize Angular's template interpolation:

{
  "html": {
    "parser": {
      "interpolation": true
    }
  }
}

This allows Biome to properly parse and format Angular component templates without treating the interpolation syntax as errors.

How is this guide?