---
title: eslint.config.ts
description: How to enable a typesafe config file
---

import { Callout } from 'fumadocs-ui/components/callout';

The `eslint.config.ts` file is a Typescript-enabled version of the `eslint.config.js` file.

If you go through the [automatic setup](/docs/setup/automatic-setup) of Sheriff, at some point the wizard will ask you if you want to setup Sheriff with a `eslint.config.ts` file instead of the default `eslint.config.js` file. Choose `yes` if you want to have a typesafe ESLint configuration file.

Instead, if you choose the manual installation, follow the instructions in the [manual setup page](/docs/setup/manual-setup).

Also check the specific docs for the [VSCode integration](/docs/vscode-support#eslintconfigts-support).

For more details, checkout [the official ESLint documentation on the topic](https://eslint.org/docs/latest/use/configure/configuration-files#typescript-configuration-files).

<Callout title="Info">

This feature is available only with ESLint version `>=9.9.0`.

</Callout>
