# useBiomeIgnoreFolder

Rule `biome/useBiomeIgnoreFolder`. Prefer folder exclusions that prevent Biome from scanning the folder.

- Source: biome
- Technologies: JSON
- Kind: suspicious
- Needs type information: no
- Autofix: yes, in at least one linter
- Reach: 30.6M weekly downloads of presets that enable it
- Trend: +109.3% last quarter
- Rank: #583 by reach, #218 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `suspicious/useBiomeIgnoreFolder` | yes | safe | group suspicious, since 2.2.0 | [docs](https://biomejs.dev/linter/rules/use-biome-ignore-folder/) |

## Code examples

### Incorrect: the rule reports this

```json
{
    "files": {
        "includes": ["**", "!dist/**", "!**/dist/**"]
    }
}
```

### Correct: the rule accepts this

```json
{
    "files": {
        "includes": ["**", "!dist", "!**/dist"]
    }
}
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

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

## Presets that enable it

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

## Related rules

- [biome/noZeroLengthUnit](https://lintradar.dev/rules/biome/noZeroLengthUnit.md): Disallow units on zero lengths.
- [biome/useBiomeKindSets](https://lintradar.dev/rules/biome/useBiomeKindSets.md): Require kind sets instead of comparing kind names one by one in Biome JS plugins.
- [biome/noVueMixin](https://lintradar.dev/rules/biome/noVueMixin.md): Disallow the `mixins` option in Vue components.
- [biome/useBiomeTopLevelTypes](https://lintradar.dev/rules/biome/useBiomeTopLevelTypes.md): Require kind sets in Biome JS plugins to be created at the top level of the module.
- [biome/noVoidTypeReturn](https://lintradar.dev/rules/biome/noVoidTypeReturn.md): Disallow returning a value from a function with the return type 'void'
- [biome/useConsistentObjectKeys](https://lintradar.dev/rules/biome/useConsistentObjectKeys.md): Enforce JSON keys with consistent Unicode representation.

---

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