-
-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
AI Policy
- I agree to follow this project's AI Policy, or I agree that AI was not used while creating this issue.
Is your feature request related to a problem? Please describe.
I want to use usage_rules, but some of the usage_rules are completely unnecessary context. I.e. there is a dependency on LiveView for the Phoenix Dashboard but the application absolutely doesn't use it - similar for Phoenix.HTML (API only use case).
I'd like a solution where I could deny list/not allow certain dependencies.
Describe the solution you'd like
Some form of API to ignore dependencies (couldn't find it). Whether that be an exclude: [...] in the config or one entry per dependency (or sub rule even) followed by ignore: true or something - both work for me :)
Describe alternatives you've considered
I'll solve the problem by using the explicit allow list approach. For security purposes I usually prefer allow lists, however here I see the danger that if an important dependency added usage rules it wouldn't be as easy to discover on a regeneration of usage rules as it'll likely not be in my allow list.
Additional context
We're on 1.2.5.
Thank you for all the work you do! It's greatly appreciated! 💚
