---
title: Regal
sidebar_label: Regal
description: CodeRabbit's guide to Regal.
---

```mdx-code-block
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';

<ProPlanNotice />
```

[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

Regal will run on files with the following extensions:

- `.rego`

## Configuration

Regal uses a YAML configuration file located at `.regal/config.yaml`.

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)