Skip to content

Commit

Permalink
Convert tsconfig to use project references, see phetsims/chipper#1356
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Sep 20, 2024
1 parent 0e84d48 commit e1ddf42
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@
"supportsOutputJS": true
},
"eslintConfig": {
"extends": "../chipper/eslint/sim_eslintrc.js"
"extends": "../chipper/eslint/sim_eslintrc.js",
"overrides": [
{
"files": [
"**/*.ts"
],
"parserOptions": {
"project": [
"../brand/tsconfig.json"
]
}
}
]
}
}
9 changes: 9 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
{
"extends": "../chipper/tsconfig-core.json",
"include": [
"phet/js/**/*",
"phet-io/js/**/*",
"test-brand/js/**/*",
"adapted-from-phet/js/**/*",
"js/**/*",
"images/**/*",
"mipmaps/**/*",
"sounds/**/*"
],
"references": [
{
"path": "../chipper/tsconfig/buildjson"
}
]
}

0 comments on commit e1ddf42

Please sign in to comment.