-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
chore: remove undocumented filePathsToIgnore option #2420
Conversation
8e0e0b1
to
f022c7e
Compare
@jasonlyu123 do you remember why we ever added that? This probably predated the "load the tsconfig" times. I would be ok with removing it in the next svelte-check major. |
When I searched all of GitHub for |
I think Astro did copy svelte-check for their initial iteration, probably just an oversight to not remove it - sounds like it's safe to remove in the next major then |
|
Did a quick github search, only one archived repository used a glob pattern. A bunch of others use it but without any patterns. @benmccann I'm therefore closing this PR, but feel free to open a new one that replaces the glob library with a simpler one that also fits our needs, as long as said library can deal with simple patterns (and we need to keep some form of it anyway because of our built-in ignores) |
@dummdidumm could you share some example repos? I had done a search and couldn't find any consumers, so I'm not quite sure what patterns need to be supported |
This is the search I did: https://github.com/search?q=%22svelte-check+--ignore%22+language%3Ajson&type=code . Only the pattern "starts with X" needs to be supported (the same we need internally, because of the "ignore node_modules") e.g. people write |
ohhh. I see. I misunderstood this code and searched for |
ref #2397
I did a search on GitHub and can't find anyone using this. If no one complains about it that will free us up to swap
fast-glob
with a lighter library. For now I leftfast-glob
in place, but we can follow up to remove it later on assuming no one misses this option