You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to ignore a vitest.config.ts reporting false positives.
This works:
--ignoreFiles="^.*\.config$"
This does not:
--ignoreFiles="^.*\.config\.ts$"
I had to trawl through the source to figure out that the file paths that are passed to the regex have the extensions stripped off. Maybe there's a good reason for it, but I found it confusing and unexpected.
The text was updated successfully, but these errors were encountered:
I was trying to ignore a
vitest.config.ts
reporting false positives.This works:
This does not:
I had to trawl through the source to figure out that the file paths that are passed to the regex have the extensions stripped off. Maybe there's a good reason for it, but I found it confusing and unexpected.
The text was updated successfully, but these errors were encountered: