From d113cb0d713bb11d5cb2e63b71d6f02af7a175e6 Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Fri, 20 Sep 2024 10:38:16 -0600 Subject: [PATCH] Convert tsconfig to use project references, see https://github.com/phetsims/chipper/issues/1356 --- package.json | 14 +++++++++++++- tsconfig.json | 7 ++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 596a9be9..ec7210fa 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,18 @@ "supportsOutputJS": true }, "eslintConfig": { - "extends": "../chipper/eslint/sim_eslintrc.js" + "extends": "../chipper/eslint/sim_eslintrc.js", + "overrides": [ + { + "files": [ + "**/*.ts" + ], + "parserOptions": { + "project": [ + "../tandem/tsconfig.json" + ] + } + } + ] } } \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index adcfd839..e4ff21a0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,5 +5,10 @@ "images/**/*", "mipmaps/**/*", "sounds/**/*" + ], + "references": [ + { + "path": "../chipper/tsconfig/buildjson" + } ] -} \ No newline at end of file +}