Skip to content

Commit

Permalink
fix buildtools weird bug with "extends", #1463
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph authored and samreid committed Oct 21, 2024
1 parent e8b63c6 commit 36b531e
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions tsconfig/buildtools/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@

// TODO: Ideally, the contents here would be an extends, but typescript really doesn't want me to do that. https://github.com/phetsims/chipper/issues/1463
//{
// // Chipper and its node dependencies is what we call "buildtools"
// "extends": "../../../chipper/tsconfig-node.json"
//}
{
// Chipper and its node dependencies is what we call "buildtools"
"extends": "../../../chipper/tsconfig-node.json"
"extends": "../../tsconfig/shared/tsconfig-node.json",
"include": [
"../../js/common/**/*",
"../../js/grunt/**/*",
"../../js/phet-io/**/*",
"../../js/scripts/**/*",
"../../test/**/*",
"../../eslint/**/*",
// Gruntfile and eslint.config.mjs
"../../*"
],
"references": [
{
"path": "../../../perennial-alias/tsconfig-chipper.json"
}
]
}

0 comments on commit 36b531e

Please sign in to comment.