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

Add wildcard support #9

Closed
ruler501 opened this issue Jan 8, 2023 · 3 comments
Closed

Add wildcard support #9

ruler501 opened this issue Jan 8, 2023 · 3 comments

Comments

@ruler501
Copy link

ruler501 commented Jan 8, 2023

It would be great to have wildcard support for paths. Ultimately what I'm trying to accomplish is ignoring errors from inside node_modules. A library I use hasn't migrated to a full strict tsconfig and ship ts files so I get errors from that. See solidjs/solid-start#255 for more specifics.

Since I'm using pnpm the file paths change everytime I update the package so it causes a lot of churn of the loosely-type-checked-files.json file and has become a chore to maintain since we have to verify that none of our files have errors before running --auto-update.

@Gelio Gelio mentioned this issue Jan 8, 2023
@Gelio
Copy link
Owner

Gelio commented Jan 8, 2023

Hey, thanks for your interest in this tool and for a feature request!

I've added wildcard support in the recently released v1.3.0. Let me know if it works for you.

You should be able to add node_modules/**/* to loosely-type-checked-files.json to have loose-ts-check ignore all errors from node_modules

@ruler501
Copy link
Author

ruler501 commented Jan 9, 2023

This is exactly what I needed. Works great thank you very much.

@ruler501 ruler501 closed this as completed Jan 9, 2023
@Gelio
Copy link
Owner

Gelio commented Jan 9, 2023

Great, I'm glad it works well 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants