-
Notifications
You must be signed in to change notification settings - Fork 23
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
Is there a way to skip checking dependency crates in the same workspace? #804
Comments
Dylint does not have this feature currently, but we could add it. I want to be sure I understand the problem that it solves, though. A workspace has two crates, A and B, where A depends on B. B causes some lint to trigger. We want to lint A, and not trigger the lint/see warnings for B. Is that right? Is having this feature time sensitive? |
Yes, that is right. And it is not time sensitive. I can simulate this behavior manually. But it might be reasonable for dylint to support it officially. |
I'll start working on it this week. |
This should be fixed by #808 in version 2.2.0 (just released). However, it required messing with Cargo caching, which I find especially tricky to get right. If anything about the new feature doesn't work as you expect, please don't hesitate to re-open this issue. |
Clippy provides a
--no-deps
option to do this: rust-lang/rust-clippy#6188. Is is possible to simulate this behavior in dylint?The text was updated successfully, but these errors were encountered: