-
Notifications
You must be signed in to change notification settings - Fork 89
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
Ignore unmatched-organization
via configuration
#620
Comments
I assume this is because you are sharing a config between multiple crates/repos/workspaces and don't want to get warnings from the ones which don't have those sources? |
In a way, mostly just looking to make the policy clear before any usecases actually come up. And so there isn't a need to update the |
Is there a reason you can't use |
That works of course, it would just be nice if running I suppose that isn't limited to just |
Lints regarding unused configurations options don't have ignore mechanisms within the configuration file itself, the whole point of them is to show users what options they have but aren't actually being used so they can have a smaller and cleaner config with only the things that matter, adding additional configuration to the same file to ignore other configuration in the same file is kind of self-defeating. It probably makes sense to add a single option to just ignore all config related lints like that instead if you don't care. |
Not exactly the case posted here, but the default Those fields are documented inline to require 1 or more orgs, but deleting the empty org works already by itself. |
The template it meant to show what configuration options are available, it's not meant to be committed as is. |
For reference, Evidently the template must be modified for, at least, the licenses, but I don't see the upside to keeping the apostrophes and requiring users to modify something only to satisfy |
Is your feature request related to a problem? Please describe.
Some dependencies get flagged with
unmatched-organization
, and there doesn't seem to be a way to silence this warning withdeny.toml
Describe the solution you'd like
Add a way to suppress this within
deny.toml
(or document it under https://embarkstudios.github.io/cargo-deny/checks/sources/diags.html if it already exists)The text was updated successfully, but these errors were encountered: