lint rego test files #164
-
Original Requestor: aimtiaz Message: Hi! Very new to OPA and I'm looking to lint rego test files. Essentially, looking through each of the test files, and ensuring that they follow the format of [test][package_name][test_name]. I couldn't find anything similar, and Thank you 🙂 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Username: anders.eknert |
Beta Was this translation helpful? Give feedback.
-
Username: anders.eknert |
Beta Was this translation helpful? Give feedback.
Username: anders.eknert
there isn’t really an official linter for Rego (yet!) but for simple things like naming conventions like you mention, this might be of interest https://blog.styra.com/blog/linting-rego-with-rego