From 0528f75358ebef854dd441750bf1705cb99af688 Mon Sep 17 00:00:00 2001 From: Charlie Egan Date: Fri, 10 Jan 2025 06:36:32 +0000 Subject: [PATCH] Update Regal documentation (#181) Corrected the broken configuration link, and made a few small edits to the copy. Co-authored-by: Gur singh <11731008+guritfaq@users.noreply.github.com> --- docs/tools/regal.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/tools/regal.md b/docs/tools/regal.md index 0783ebdd..d05be084 100644 --- a/docs/tools/regal.md +++ b/docs/tools/regal.md @@ -10,7 +10,7 @@ import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx'; ``` -[Regal](https://docs.styra.com/regal/) is a linter and language server for Rego. +[Regal](https://docs.styra.com/regal/) is a linter and language server for Rego, the language of [Open Policy Agent](http://openpolicyagent.org) (OPA). ## Files @@ -20,12 +20,10 @@ Regal will run on files with the following extensions: ## Configuration -Regal uses a YAML style configuration file. We look for the following config file: +Regal uses a YAML configuration file located at `.regal/config.yaml`. -- `.regal/config.yaml` - -CodeRabbit will use the default settings based on the profile selected if no config file is found. +CodeRabbit will use the default settings based on the profile selected if no configuration file is found. ## Links -- [Regal Configuration](https://docs.styra.com/regal#configuration/) +- [Regal Configuration](https://docs.styra.com/regal#configuration)