Currently, when running the Rego linter, errors are reported in a generic way (e.g., “Messy incremental rule” or “Prefer some .. in for iteration”), but it’s not clear which specific rule triggered the warning or where to find more information.
Current output example:
----------+
| # | ISSUE |
+---+-----------------------------------------------------------------------------------------------------+
| 1 | cyclonedx.rego:32: Messy incremental rule |
| 4 | cyclonedx.rego:221: Prefer some .. in for iteration |
+---+-----------------------------------------------------------------------------------------------------+
Proposed improvement: