# useInputName

Rule `biome/useInputName`. Require mutation arguments to be named `input`.

- 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: #1554 by reach, #58 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `style/useInputName` | no | no | group style, since 2.3.14 | [docs](https://biomejs.dev/linter/rules/use-input-name/) |

## Code examples

### Incorrect: the rule reports this

```graphql
type Mutation {
  SetMessage(message: InputMessage): String
}
```

### Correct: the rule accepts this

```graphql
type Mutation {
  SetMessage(input: SetMessageInput): String
}
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "style": {
        "useInputName": "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/useGraphqlNamingConvention](https://lintradar.dev/rules/biome/useGraphqlNamingConvention.md): Require uppercase names for GraphQL enum values.
- [biome/useLoneExecutableDefinition](https://lintradar.dev/rules/biome/useLoneExecutableDefinition.md): Require one executable GraphQL definition per file.
- [biome/useConsistentGraphqlDescriptions](https://lintradar.dev/rules/biome/useConsistentGraphqlDescriptions.md): Require one description style throughout a GraphQL schema.
- [biome/useNodeAssertStrict](https://lintradar.dev/rules/biome/useNodeAssertStrict.md): Prefer `node:assert/strict` over `node:assert`.
- [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/useRequiredScripts](https://lintradar.dev/rules/biome/useRequiredScripts.md): Require configured scripts in `package.json`.

---

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