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 d3f9b73 commit d113cb0
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 @@ -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"
]
}
}
]
}
}
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 d113cb0

Please sign in to comment.