"Strict" mode to enforce_dependencies
and enforce_privacy
#241
-
At Gusto we have some custom tooling to help packages that have solidified their boundaries (i.e. addressed all of their incoming privacy violations and outgoing dependency violations) keep those boundaries solid. This tooling allows users to configure, on a per-pack basis, no longer allowing any new violations. I was wondering if folks would find this useful and be open to this being a part of packwerk:
It behaves just like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Although GitHub is still a long way off from using this, I really like the idea! My only concern is that Putting aside backward compatibility concerns for now, I feel the ideal arrangement here would be something like this: enforce_privacy: [false|true|strict|] # (ascending order of enforcement, defaults to false)
private_constants:
- "::Merchandising::Product"
- "::SomeOtherConstant" Adding any |
Beta Was this translation helpful? Give feedback.
-
Implementation proposal: #271 |
Beta Was this translation helpful? Give feedback.
Implementation proposal: #271