Replies: 1 comment
-
We recommend the OPA ruleset for these use cases. Below is an example of a policy that prohibits resource declarations. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
People tent do forget import blocks when they use them, a rule to block imports might be useful.
This would force people to not leave useless imports in the code once they imported their resources.
Proposal
Add an optional rule to fail when imports exist in the codebase.
References
Beta Was this translation helpful? Give feedback.
All reactions