Register the extra `tsconfig.json` with ESLint
authorAlexander Ebert <ebert@woltlab.com>
Mon, 8 Aug 2022 16:15:38 +0000 (18:15 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 12 Aug 2022 19:25:55 +0000 (21:25 +0200)
.eslintrc.js

index 305506d8f8c449feaca3b67bd535720c04f5a855..1c0a031b46ec79c034ceee018b277194254534cf 100644 (file)
@@ -3,7 +3,10 @@ module.exports = {
   parser: "@typescript-eslint/parser",
   parserOptions: {
     tsconfigRootDir: __dirname,
-    project: ["./tsconfig.json"]
+    project: [
+      "./tsconfig.json",
+      "./ts/WoltLabSuite/WebComponent/tsconfig.json"
+    ]
   },
   plugins: ["@typescript-eslint"],
   extends: [