# useBaseline

Rule `biome/useBaseline`. Disallow CSS properties, values, at-rules, functions, and selectors that are not part of the configured Baseline.

- Source: biome
- Technologies: CSS
- Kind: suspicious
- Needs type information: no
- Autofix: no
- Reach: 2.1M weekly downloads of presets that enable it
- Trend: +151.7% last quarter
- Rank: #1551 by reach, #55 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `suspicious/useBaseline` | no | no | group suspicious, since 2.4.7 | [docs](https://biomejs.dev/linter/rules/use-baseline/) |

## Code examples

### Incorrect: the rule reports this

```css
a {
  backdrop-filter: blur(4px);
}
```

```css
a { width: abs(20% - 100px); }
```

```css
@media (inverted-colors: inverted) { a { color: red; } }
```

### Correct: the rule accepts this

```css
a { color: red; }
```

```css
/* @supports exempts feature-detected code */
@supports (backdrop-filter: blur(4px)) {
  a { backdrop-filter: blur(4px); }
}
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "suspicious": {
        "useBaseline": "error"
      }
    }
  }
}
```

## Presets that enable it

| Preset | Linter | Package | Rules | Weekly downloads | Trend |
| --- | --- | --- | --- | --- | --- |
| [Ultracite for Biome](https://lintradar.dev/presets/ultracite-biome.md) | Biome | `ultracite` | 616 | 2.1M | +151.7% |

## Related rules

- [biome/noValueAtRule](https://lintradar.dev/rules/biome/noValueAtRule.md): Disallow the `@value` rule in CSS Modules.
- [biome/useConsistentGraphqlDescriptions](https://lintradar.dev/rules/biome/useConsistentGraphqlDescriptions.md): Require one description style throughout a GraphQL schema.
- [biome/noUselessCatchBinding](https://lintradar.dev/rules/biome/noUselessCatchBinding.md): Disallow unused error parameters in `catch` clauses.
- [biome/useGraphqlNamingConvention](https://lintradar.dev/rules/biome/useGraphqlNamingConvention.md): Require uppercase names for GraphQL enum values.
- [biome/noUnusedTemplateLiteral](https://lintradar.dev/rules/biome/noUnusedTemplateLiteral.md): Disallow template literals if interpolation and special-character handling are not needed
- [biome/useInputName](https://lintradar.dev/rules/biome/useInputName.md): Require mutation arguments to be named `input`.

---

Web page: https://lintradar.dev/rules/biome/useBaseline. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
