@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.
bun add -D @dry-lint/prisma
Add it to your .drylintrc.json
:
{
"plugins": ["@dry-lint/prisma"]
}
Run detection with the CLI. This plugin auto-registers itself.
MIT — see LICENSE.