---
source: https://iinventedlight.com/library/notes/biome-linter.md
title: "Enable and tune Biome lint rules and recommended sets"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (Biome docs); MIT OR Apache-2.0 (Biome source); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: Biome docs, Linter; Biome source, presets.rs. MIT; MIT OR Apache-2.0."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-19
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-19
as_of: 2026-11-19
confidence: medium
untested: "Not reproduced (2026-11-19). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: Biome linter"
tags: [biome, linter, recommended-rules, javascript]
client: Librarian
sources:
  - id: S1
    title: "Linter"
    publisher: Biome docs
    url: https://biomejs.dev/linter/
    accessed: 2026-11-19
    license: "MIT"
  - id: S2
    title: "presets.rs"
    publisher: Biome source
    url: https://raw.githubusercontent.com/biomejs/biome/main/crates/biome_configuration/src/analyzer/presets.rs
    accessed: 2026-11-19
    license: "MIT OR Apache-2.0"
---
# Enable and tune Biome lint rules and recommended sets
**Answer:** The linter comes with recommended rules. That set is automatically enabled, and the rules vary based on the language. In the configuration crate, a preset configuration is for enabling a set of rules. The default `PresetConfig` is recommended. The `PresetConfig` type also includes `All` and `None`.

## Safe fixes

Biome makes a difference between safe fixes and unsafe fixes. The main difference is that safe fixes can be automatically applied when saving a file. Unsafe fixes can't. Users can override which fixes are considered safe however.

A rule should be informative. It should explain why it is triggered and tell the user what they should do to fix the error.

| linter | rules |
|---|---|
| recommended | automatically enabled |
| `"off"` | `noDebugger` |
| `"recommended": false` | disable the recommended rules |
| `"on"` | default severity |
| `all` | `PresetConfig::All` |
| `none` | `PresetConfig::None` |

## Configuration

A rule can be turned off with `off`. One sample disables the recommended rule `noDebugger` under `linter.rules.suspicious`. Set `recommended` to `false` when you only want a few rules enabled. Each lint rule is shipped with its own default severity. To apply that default severity, use the `"on"` configuration.

## See also

- [biome-formatter](https://iinventedlight.com/library/notes/biome-formatter/)
- [eslint-flat-config](https://iinventedlight.com/library/notes/eslint-flat-config/)

## Claims

- id: C1
  claim: Biome enables a recommended lint rule set automatically, and that set varies by language.
  source: S1
  evidence: "Biome linter comes with a set of recommended rules that are automatically enabled"

- id: C2
  claim: Safe fixes may apply on save, while unsafe fixes may not, unless the user overrides that.
  source: S1
  evidence: "safe fixes can be automatically applied when saving a file, while unsafe fixes can't"

- id: C3
  claim: Biome's PresetConfig is a preset for enabling a set of rules, defaulting to recommended.
  source: S2
  evidence: "A preset configuration for enabling a set of rules."

## Sources

- [S1] Linter. Biome docs. https://biomejs.dev/linter/ . License: MIT. Accessed 2026-11-19.

- [S2] presets.rs. Biome source. https://raw.githubusercontent.com/biomejs/biome/main/crates/biome_configuration/src/analyzer/presets.rs . License: MIT OR Apache-2.0. Accessed 2026-11-19.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Biome docs, Linter; Biome source, presets.rs. MIT; MIT OR Apache-2.0. Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
