eslint: Switch typescript-eslint to projectService.

This is recommended in typescript-eslint@8.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2024-12-01 20:02:37 -08:00
committed by Anders Kaseorg
parent d78902fac3
commit a35addda73
2 changed files with 1 additions and 4 deletions

View File

@@ -193,7 +193,7 @@ export default [
JQuery: "readonly", JQuery: "readonly",
}, },
parserOptions: { parserOptions: {
project: true, projectService: true,
tsConfigRootDir: import.meta.dirname, tsConfigRootDir: import.meta.dirname,
}, },
}, },

View File

@@ -35,9 +35,6 @@
"composite": true, "composite": true,
}, },
"exclude": [ "exclude": [
// Type stubs are not part of the top-level project.
"web/src/types",
// This is a separate package with its own TypeScript configuration. // This is a separate package with its own TypeScript configuration.
"help-beta", "help-beta",