> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# regal

> regal is a linter for Rego

[**regal**](https://github.com/StyraInc/regal) is a linter for Rego.

You can enable the regal linter with:

```shell theme={null}
trunk check enable regal
```

## Auto Enabling

regal will be auto-enabled if a `.regal/config.yaml` config file is present.

## Settings

regal supports the following config files:

* `.regal/config.yaml`

Unlike with most tools under `trunk check`, these files cannot be moved.

## Links

* [regal site](https://github.com/StyraInc/regal)
* regal Trunk Code Quality [integration source](https://github.com/trunk-io/plugins/tree/main/linters/regal)
* Trunk Code Quality's [open source plugins repo](https://github.com/trunk-io/plugins/tree/main)
