Skip to main content
Prisma Lint is a linter for Prisma schema files that helps enforce consistent conventions and best practices in your Prisma schemas. CodeRabbit runs Prisma Lint v0.13.1.

Files

Prisma Lint will run on files with the following extensions:
  • .prisma

Configuration

boolean
default:true
Enable Prisma Schema linting: Prisma Schema linting helps maintain consistent and error-free schema files
.coderabbit.yaml
Prisma Lint supports the following config files:
  • .prismalintrc.json
  • .prismalintrc
  • .prismalintrc.js
  • .prismalintrc.yaml
  • .prismalintrc.yml
  • prismalint.config.js

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 for more information on the available rules and their configuration options.