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 79093d2 commit 8997826
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@
"published": true
},
"eslintConfig": {
"extends": "../chipper/eslint/sim_eslintrc.js"
"extends": "../chipper/eslint/sim_eslintrc.js",
"overrides": [
{
"files": [
"**/*.ts"
],
"parserOptions": {
"project": [
"../trig-tour/tsconfig.json"
]
}
}
]
}
}
7 changes: 6 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@
"images/**/*",
"mipmaps/**/*",
"sounds/**/*"
],
"references": [
{
"path": "../chipper/tsconfig/buildjson"
}
]
}
}

0 comments on commit 8997826

Please sign in to comment.