---
name: prisma-lint
description: "Use when adopting Prisma Lint to assess this standard: Enforce Prisma schema conventions"
---

# Apply Prisma Lint

Choose rules for model and field naming, relation consistency and schema hygiene. Enable the intended rules explicitly so a clean run checks something meaningful.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by Prisma Lint.
2. 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.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://github.com/loop-payments/prisma-lint) for configuration and prerequisites.

## Tool invocation

```
npx --no-install prisma-lint
```
