mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
2f283dcc6a
We used to always force empty lines between else blocks and their parent rule. Recently we changed to force them into a compact/inline style as long as there were no comments between blocks.. now we will preserve the original style, favoring the compact style. This should make the change that happened more backwards compatible and allow policy authors to use either style without the formatter forcing one over the other. Signed-off-by: Patrick East <east.patrick@gmail.com>