-
-
Notifications
You must be signed in to change notification settings - Fork 228
How to use --exclude? #366
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
Comments
Are you missing an |
That's probably why. so... few suggestions for improvement here:
|
Thanks for the suggestion, I like this idea.
Although I understand your reasoning, they're not the same thing. The |
Makes sense. Thank you for considering and for the explanation |
🚀 This issue has been resolved in v3.1.0. See Release 3.1.0 for release notes. |
Based on the description, I would expect this to not include
type
error:For context, we are running knip twice as follows:
and the issue is that the second run detects unused types that are contained in production files, but are only used in tests, therefore causing unused export type errors. It appears that the correct way to fix this is to just ignore unused export types in production build
The text was updated successfully, but these errors were encountered: