# require-await

Rule `typescript/require-await`. Disallow async functions which do not return promises and have no `await` expression

- Source: typescript
- Technologies: TypeScript
- Kind: suspicious
- Needs type information: yes
- Autofix: yes, in at least one linter
- Reach: 44.2M weekly downloads of presets that enable it
- Trend: +29.5% last quarter
- Rank: #309 by reach, #1146 by growth

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `@typescript-eslint/require-await` | no | suggestion | package `@typescript-eslint/eslint-plugin` | [docs](https://typescript-eslint.io/rules/require-await) |
| Oxlint | `typescript/require-await` | no | safe | plugin `typescript`, category pedantic | [docs](https://oxc.rs/docs/guide/usage/linter/rules/typescript/require-await.html) |
| Biome | `suspicious/useAwait` | no | no | group suspicious, since 1.4.0 | [docs](https://biomejs.dev/linter/rules/use-await/) |

## Code examples

### Incorrect: the rule reports this

```ts
async function returnNumber() {
  return 1;
}

async function* asyncGenerator() {
  yield 1;
}

const num = returnNumber();
const callAsyncGenerator = () => asyncGenerator();
```

### Correct: the rule accepts this

```ts
function returnNumber() {
  return 1;
}

function* syncGenerator() {
  yield 1;
}

const num = returnNumber();
const callSyncGenerator = () => syncGenerator();
```

Examples from the ESLint documentation.

## Enable it

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

```js
import tseslint from "typescript-eslint";

export default [
  {
    plugins: { "@typescript-eslint": tseslint.plugin },
    rules: {
      "@typescript-eslint/require-await": "error",
    },
  },
];
```

### Oxlint: `.oxlintrc.json`

```json
{
  "rules": {
    "typescript/require-await": "error"
  }
}
```

### Biome: `biome.json`

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

## Presets that enable it

| Preset | Linter | Package | Rules | Weekly downloads | Trend |
| --- | --- | --- | --- | --- | --- |
| [typescript-eslint strict type-checked](https://lintradar.dev/presets/typescript-eslint-strict-type-checked.md) | ESLint | `@typescript-eslint/eslint-plugin` | 75 | 175.9M | +29.5% |
| [typescript-eslint recommended type-checked](https://lintradar.dev/presets/typescript-eslint-recommended-type-checked.md) | ESLint | `@typescript-eslint/eslint-plugin` | 47 | 175.9M | +29.5% |
| [eslint-config-love](https://lintradar.dev/presets/love.md) | ESLint | `eslint-config-love` | 258 | 171.7K | +39.3% |

## Related rules

- [eslint/require-await](https://lintradar.dev/rules/eslint/require-await.md): Disallow async functions which have no `await` expression
- [typescript/no-unsafe-class-instance-assignment](https://lintradar.dev/rules/typescript/no-unsafe-class-instance-assignment.md): Disallow assigning non-instance values to class instance typed locations
- [typescript/no-unnecessary-type-parameters](https://lintradar.dev/rules/typescript/no-unnecessary-type-parameters.md): Disallow type parameters that aren't used multiple times
- [typescript/no-unnecessary-type-arguments](https://lintradar.dev/rules/typescript/no-unnecessary-type-arguments.md): Disallow type arguments that are equal to the default
- [typescript/no-unnecessary-boolean-literal-compare](https://lintradar.dev/rules/typescript/no-unnecessary-boolean-literal-compare.md): Disallow unnecessary equality comparisons against boolean literals
- [typescript/no-generated-empty-object-type](https://lintradar.dev/rules/typescript/no-generated-empty-object-type.md): Disallow type operations that resolve to the "empty object" type

---

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