# prefer-lowercase-title

Rule `jest/prefer-lowercase-title`. Enforce lowercase test names

- Source: jest
- Technologies: Testing
- Kind: style
- Needs type information: no
- Autofix: yes, in at least one linter
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #1667 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `jest/prefer-lowercase-title` | no | safe | package `eslint-plugin-jest` | [docs](https://github.com/jest-community/eslint-plugin-jest/blob/v29.17.2/docs/rules/prefer-lowercase-title.md) |
| Oxlint | `jest/prefer-lowercase-title` | no | safe | plugin `jest`, category style | [docs](https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-lowercase-title.html) |
| Biome | `nursery/useLowercaseTestTitle` | no | unsafe | group nursery, since 2.6.0 | [docs](https://biomejs.dev/linter/rules/use-lowercase-test-title/) |

## Code examples

### Correct: the rule accepts this

```js
describe('Uppercase description');
```

```js
test('Uppercase description');
```

```js
it('Uppercase description');
```

Examples from the ESLint documentation.

## Enable it

### ESLint: `eslint.config.js`

```js
import jest from "eslint-plugin-jest";

export default [
  {
    plugins: { jest },
    rules: {
      "jest/prefer-lowercase-title": "error",
    },
  },
];
```

### Oxlint: `.oxlintrc.json`

```json
{
  "plugins": [
    "jest"
  ],
  "rules": {
    "jest/prefer-lowercase-title": "error"
  }
}
```

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "nursery": {
        "useLowercaseTestTitle": "error"
      }
    }
  }
}
```

## Related rules

- [vitest/prefer-lowercase-title](https://lintradar.dev/rules/vitest/prefer-lowercase-title.md): Enforce lowercase titles
- [jest/prefer-importing-jest-globals](https://lintradar.dev/rules/jest/prefer-importing-jest-globals.md): Prefer importing Jest globals
- [jest/prefer-spy-on](https://lintradar.dev/rules/jest/prefer-spy-on.md): Suggest using `jest.spyOn()`
- [jest/prefer-hooks-on-top](https://lintradar.dev/rules/jest/prefer-hooks-on-top.md): Suggest having hooks before any test cases
- [jest/prefer-strict-equal](https://lintradar.dev/rules/jest/prefer-strict-equal.md): Suggest using `toStrictEqual()`
- [jest/prefer-hooks-in-order](https://lintradar.dev/rules/jest/prefer-hooks-in-order.md): Prefer having hooks in a consistent order

---

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