---
title: "dynamic-key"
description: "A fully dynamic key that no check can follow."
canonical_url: "https://x18n.dev/checks/dynamic-key"
---
# dynamic-key

> A fully dynamic key that no check can follow.

<!-- Generated by docs/scripts/generate.ts from the source code. Do not edit. -->

A fully dynamic key that no check can follow.

The check is off by default.

A fully dynamic key, such as `t(key)`, has no static prefix. No check can follow it. Turn this check on to find such usages.

## Configure

Turn the check on in `checks`:

```ts [x18n.config.ts]
import { defineConfig } from '@x18n/core'

export default defineConfig({
  checks: {
    'dynamic-key': 'warning',
  },
})
```

`x18n check --only dynamic-key` runs this check alone. `x18n check --skip dynamic-key` skips it for one run.

## Source

- [`packages/builtins/src/checks/index.ts`](https://github.com/x18n-dev/x18n/blob/main/packages/builtins/src/checks/index.ts)


## Sitemap

See the full [sitemap](https://x18n.dev/sitemap.md) for all pages.
