# useConsistentGraphqlDescriptions

Rule `biome/useConsistentGraphqlDescriptions`. Require one description style throughout a GraphQL schema.

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

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `style/useConsistentGraphqlDescriptions` | no | no | group style, since 2.3.6 | [docs](https://biomejs.dev/linter/rules/use-consistent-graphql-descriptions/) |

## Code examples

### Incorrect: the rule reports this

```graphql
enum EnumValue {
  "this is a description"
  DEFAULT
}
```

### Correct: the rule accepts this

```graphql
enum EnumValue {
  """
  this is a description
  """
  DEFAULT
}
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "style": {
        "useConsistentGraphqlDescriptions": "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/useBaseline](https://lintradar.dev/rules/biome/useBaseline.md): Disallow CSS properties, values, at-rules, functions, and selectors that are not part of the configured Baseline.
- [biome/useGraphqlNamingConvention](https://lintradar.dev/rules/biome/useGraphqlNamingConvention.md): Require uppercase names for GraphQL enum values.
- [biome/noValueAtRule](https://lintradar.dev/rules/biome/noValueAtRule.md): Disallow the `@value` rule in CSS Modules.
- [biome/useInputName](https://lintradar.dev/rules/biome/useInputName.md): Require mutation arguments to be named `input`.
- [biome/noUselessCatchBinding](https://lintradar.dev/rules/biome/noUselessCatchBinding.md): Disallow unused error parameters in `catch` clauses.
- [biome/useLoneExecutableDefinition](https://lintradar.dev/rules/biome/useLoneExecutableDefinition.md): Require one executable GraphQL definition per file.

---

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