regal icon indicating copy to clipboard operation
regal copied to clipboard

Directory tree policy rules?

Open anderseknert opened this issue 1 year ago • 1 comments

One thing that would be interesting (and potentially useful) is if Regal included some optional rules to check the directory structure of a policy repo, and reported on things that could be improved:

  • corresponding *_test.rego for any rego file
  • or a separate test directory
  • file names match package names
  • .editorconfig
  • "bundle mode" checking for .manifest

And so on... I'm sure we could come up with more. Low priority, but noting it down for later :)

anderseknert avatar Mar 21 '23 08:03 anderseknert