Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: full tsconfig resolution (closes #637 closes #661) #677

Merged
merged 3 commits into from Aug 25, 2022

Conversation

spence-s
Copy link
Contributor

@spence-s spence-s commented Aug 7, 2022

This PR causes xo to recursively build tsconfig for files by merging each extends block into the final tsconfig.

This allows us to have the proper information to correctly determine typescript options/locations and get rid of the bugs as its now much more similar to how the actual tsconfig algorithm works.

It also adds some more complex tsconfig related tests.

Fixes #637
Fixes #661

lib/options-manager.js Outdated Show resolved Hide resolved
lib/options-manager.js Outdated Show resolved Hide resolved
lib/options-manager.js Outdated Show resolved Hide resolved
lib/options-manager.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants