Prisma Lint.
Enforce Prisma schema conventions
Choose rules for model and field naming, relation consistency and schema hygiene. Enable the intended rules explicitly so a clean run checks something meaningful.
Prisma
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedThe require-field rule can require named fields on Prisma models; all rules are disabled until selected.
Measurement
VerifiedThe documented JSON formatter emits findings for selected Prisma schema rules. Examples show missing fields and incorrect field mappings.
Conformance
UnknownNo reviewed evidence is recorded for this dimension.
What would demonstrate a violation? Contribute evidence ↗
CI enforcement
UnknownNo reviewed evidence is recorded for this dimension.
Can a change trigger a useful check? Contribute evidence ↗
Getting started
VerifiedInstall the dev dependency, enable rules in a project config and run the CLI against a Prisma schema. The README shows error and clean-file output for sample inputs.
Real-world adoption
VerifiedCodeRabbit runs Prisma Lint on changed .prisma schemas and recognizes repository rules configurations such as .prismalintrc.json.
Agent guidance
UnknownNo reviewed evidence is recorded for this dimension.
Can an agent act on a specific finding? Contribute evidence ↗
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Run the check with the tool installed and configured for your project.
npx --no-install prisma-lint
Agent prompt
Use Prisma Lint in this repository to meet this standard: Enforce Prisma schema conventions. Choose rules for model and field naming, relation consistency and schema hygiene. Enable the intended rules explicitly so a clean run checks something meaningful. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.