StyraInc / regal

Regal is a linter and language server for Rego, bringing your policy development experience to the next level!
https://docs.styra.com/regal
Apache License 2.0
253 stars 34 forks source link

Rule: `missing-metadata` #1131

Closed anderseknert closed 1 week ago

anderseknert commented 1 week ago

This rule is not for everyone, and hence in the custom category.

For a public projects, libraries and reusable policies, this should however be considered.

This uncovered a bug in OPA, which has now been addressed. In order to make progress on this we're now depending on OPA main. This should be changed as soon as OPA v0.69.0 is released.

Some unrelated fixes in this PR, fixing annoyances as I worked on it: