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
Add wildcard support for exclusion rules #1184
Comments
Thanks for the issue. Can you explain why you have this need to exclude so many things? Is there some issue with the analysis? |
+1 for me. Personally, I'd like it because I keep module diagrams of my projects to illustrate how modules link together. Unless I can exclude projects from Ideally I'd make most of those links |
Thanks for the reply and for creating this tool in the first place!
Certainly. I have two main cases in mind for this:
Hopefully that makes sense. Happy to try to clarify anything if needed. |
So you're saying you prefer to have incorrectly declared dependencies? I'm not sure I want to make that easier to do. |
I suspect that you might find the bundle feature very useful for meeting your needs. It already permits regex. |
I'm having a bit of difficulty figuring out how to apply bundles to our situation. I would have expected behavior something along the lines of #904 but obviously that's not how they're designed to work. I'm not seeing how to make the connection between defining a bundle and telling the plugin to ignore any transitive dependencies applicable to it. |
@autonomousapps Maybe I'm misunderstanding how bundles are meant to work. Do I need to create a bundle which is chained up to the parent dependency that pulls in the transitive ones I'm trying to ignore? |
So I think what you might want is something like this:
|
Thanks, I'll play around with that! |
Is your feature request related to a problem? Please describe.
Right now, if I want to ignore multiple packages from the same project, I have to list each one individually. And the rules need to be updated any time a new package from that project gets added. This can be a bit cumbersome.
Describe the solution you'd like
Add wildcard support to the exclude rules, so something like
exclude('project:*')
would work.Describe alternatives you've considered
Excluding each individually.
Additional context
N/A
The text was updated successfully, but these errors were encountered: