Skip to content

Commit

Permalink
Add support for tsconfig extends (#37)
Browse files Browse the repository at this point in the history
* Use typescript to parse tsconfig.json

* Handle extends in config files

* Fix linting errors

* Bump version

Co-authored-by: Dave Stewart <dave@davestewart.co.uk>

Closes #28 
Closes #30
  • Loading branch information
IanVS authored Nov 25, 2021
1 parent db46e9b commit 1930920
Show file tree
Hide file tree
Showing 5 changed files with 10,342 additions and 1,614 deletions.
7 changes: 7 additions & 0 deletions demo/tsconfig-fancy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
// extend from a base config
"extends": "./tsconfig.base.json",
"compilerOptions": {
"target": "es2020", // This has a trailing comma 😱
}
}
Loading

0 comments on commit 1930920

Please sign in to comment.