@dry-lint/prisma
v3.0.0
Published
Detect duplicate or near-duplicate definitions in Prisma schema files.
Maintainers
Readme
@dry-lint/prisma
Part of the dry-lint monorepo.
Extracts models, enums, and relations from Prisma schema files (schema.prisma) so you can detect duplicate or redundant database structures in your Prisma models.
Install
bun add -D @dry-lint/prismaConfigure
Add it to your .drylintrc.json:
{
"plugins": ["@dry-lint/prisma"]
}Run detection with the CLI. This plugin auto-registers itself.
More
License
MIT — see LICENSE.
