Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regal fix ignores config level: ignore #1342

Open
grosser opened this issue Jan 16, 2025 · 1 comment
Open

regal fix ignores config level: ignore #1342

grosser opened this issue Jan 16, 2025 · 1 comment

Comments

@grosser
Copy link

grosser commented Jan 16, 2025

regal fix --force foo.rego
1 fix applied:
foo.rego:
- opa-fmt

but my .regal/config.yaml has

  style:
    opa-fmt:
      level: ignore

... so it should not touch that, the docs say "ignore — disable the rule entirely"

@anderseknert
Copy link
Member

Hey @grosser, and thanks for letting us know. We've done a bunch of work recently on getting formatting to play nicely with both Rego v0, v1 and even mix of the two.. so it's likely an oversight somewhere in those changes. We'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants