Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

Prisma Lint

Pro Plan Feature

This feature is available exclusively as part of the Pro plan and is not included in the Lite plan. Please refer to ourpricing page for more information about our plans and features.

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
  • User-defined config file set atreviews.tools.prismalint.config_file in your project's.coderabbit.yaml file or setting the "Review → Tools → Prisma Lint → Config File" field in CodeRabbit's settings page.
note

By default, Prisma Lint looks for schema files atprisma/schema.prisma. If you have a custom schema path specified in theprisma.schema field withinpackage.json, that will be used instead.

Rule Configuration

Rules can be configured in your.prismalintrc.json file. See thePrisma Lint Rules Documentation for more information on the available rules and their configuration options.

Links


[8]ページ先頭

©2009-2025 Movatter.jp