-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Go: - Use OPA v1 packages - Add function to parse Rego of unknown version - Allow providing the Rego version via config or .manifest files - Make `regal fix` formatter consider version to format for Rego: - Remove `import rego.v1` (via `opa fmt`) - Add `config.capabilities.is_opa_v1` - Use that to disable `use-if`, `use-contains`, `use-rego-v1` - Update tests for 1.0 compliance Docs: - TODO remove `import rego.v1` from all examples - `regal fix` doesn't work well - Many failing e2e tests, despite some effort - Test LSP functionality Signed-off-by: Anders Eknert <[email protected]>
- Loading branch information
1 parent
4459436
commit dd51d47
Showing
327 changed files
with
1,336 additions
and
904 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "regal lint bundle", | ||
"type": "go", | ||
"request": "launch", | ||
"mode": "auto", | ||
"program": "${workspaceFolder}", | ||
"args": [ | ||
"lint", | ||
"--enable-print", | ||
"bundle" | ||
] | ||
}, | ||
{ | ||
"name": "regal fix --dry-run bundle", | ||
"type": "go", | ||
"request": "launch", | ||
"mode": "auto", | ||
"program": "${workspaceFolder}", | ||
"args": [ | ||
"fix", | ||
"--dry-run", | ||
"bundle" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.