refactor: combine check-tsconfig
with parse-tsconfig
#413
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTE: this is built on top of #404 as it uses thecontext
changes made there. As such, I've marked this PR as "Draft" until #404 is merged.Rebased on top and marked as ready for review.
Summary
Combine the two
tsconfig
files into one as the split is not currently necessary and adds unnecessary complexityDetails
checkTsConfig
is literally only used byparseTsConfig
merge the unit tests as well
parse-tsconfig.spec
, so only add the error casecheck-tsconfig
was longer in the past and more files were being created then for separation, so this may have made more sense then, but now it is unnecessary