Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/great-seas-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@virtual-live-lab/eslint-config": patch
---

Enable `EXPERIMENTAL_useProjectService` in typescript-eslint
8 changes: 4 additions & 4 deletions packages/eslint-config/src/base/typescript.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import tseslint from "typescript-eslint";

import { __dirname } from "../lib/dir";

const tsConfig = tseslint.config({
extends: [
...tseslint.configs.recommendedTypeChecked,
...tseslint.configs.stylisticTypeChecked,
],
languageOptions: {
parserOptions: {
project: true,
tsconfigRootDir: __dirname,
// NOTICE: Remove EXPERIMENTAL_ prefix when typescript-eslint v7 is released
// SEE: https://typescript-eslint.io/packages/parser/#experimental_useprojectservice
// FEATURE PR: https://github.com/typescript-eslint/typescript-eslint/pull/6754
EXPERIMENTAL_useProjectService: true,
},
},
rules: {
Expand Down