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

Add a built-in function for formatting, and sunset the Go linter #1298

Open
anderseknert opened this issue Dec 13, 2024 · 0 comments
Open

Add a built-in function for formatting, and sunset the Go linter #1298

anderseknert opened this issue Dec 13, 2024 · 0 comments

Comments

@anderseknert
Copy link
Member

When I started hacking on Regal, I was thinking there would be a lot of things that couldn't be done using Rego alone. One obvious thing was formatting, but the plan was to add more Go linters for things that turned out to be impossible to do in Rego. I no longer think that we'll need linters written in Go, and if we find problems like that going forward, we can implement custom functions for that. Let's make one for formatting and have the opa-fmt rule use that instead. With the only Go linter gone, we can decomission that code.

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

1 participant