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

# Prisma Lint

> CodeRabbit's guide to Prisma Lint.

[Prisma Lint](https://github.com/loop-payments/prisma-lint) is a linter for Prisma schema files that helps enforce consistent conventions and best practices in your Prisma schemas.

## Files

Prisma Lint will run on files with the following extensions:

* `.prisma`

## Configuration

Prisma Lint supports the following config files:

* `.prismalintrc.json`
* `.prismalintrc`
* `.prismalintrc.js`
* `.prismalintrc.yaml`
* `.prismalintrc.yml`
* `prismalint.config.js`

<Note>
  CodeRabbit runs Prisma Lint against changed `.prisma` files in the pull request.
</Note>

## When we skip Prisma Lint

CodeRabbit will skip running Prisma Lint when:

* No Prisma schema files are found in the pull request.
* No config file is found.
* Prisma Lint is already running in GitHub workflows.

## Rule Configuration

Rules can be configured in your `.prismalintrc.json` file. See the [Prisma Lint Rules Documentation](https://github.com/loop-payments/prisma-lint/blob/main/RULES.md) for more information on the available rules and their configuration options.

## Links

* [Prisma Lint GitHub Repository](https://github.com/loop-payments/prisma-lint)
* [Prisma Lint Rules Documentation](https://github.com/loop-payments/prisma-lint/blob/main/RULES.md)
