Skip to content

Commit

Permalink
docs: 📝 adds instructions for integrating official ESlint > v9.9.0 `t…
Browse files Browse the repository at this point in the history
…s` file support (AndreaPontrandolfo#268)

ESlint > v9.9.0 includes experimental support for Typescript configuration files using the flag `unstable_ts_config`.
This adds  documentation for adding the flag to  VSCode.
  • Loading branch information
sangrepura committed Sep 28, 2024
1 parent 53ff1df commit ed946b4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions apps/docs-website/docs/vscode-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ To make the [VSCode ESLint Extension](https://marketplace.visualstudio.com/items
}
```

## Typescript support

### Using official ESlint > v9.9.0

If you are using an `eslint.config.ts` with [ESLint's experimental support for Typescript based configuration files](https://github.com/eslint/eslint/releases/tag/v9.9.0), add this to your workspace's `.vscode/settings.json`:

```JSONC title=".vscode/settings.json"
"eslint.options": {
"flags": ["unstable_ts_config"]
}
```

## Astro support

For [Astro](https://astro.build/) projects, add the astro extension too:
Expand Down

0 comments on commit ed946b4

Please sign in to comment.