mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 02:53:52 +00:00
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:
committed by
Anders Kaseorg
parent
d78902fac3
commit
a35addda73
@@ -193,7 +193,7 @@ export default [
|
|||||||
JQuery: "readonly",
|
JQuery: "readonly",
|
||||||
},
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
project: true,
|
projectService: true,
|
||||||
tsConfigRootDir: import.meta.dirname,
|
tsConfigRootDir: import.meta.dirname,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user