@dry-lint/zod
v3.0.0
Published
Detect duplicate or near-duplicate Zod schema definitions using AST parsing.
Downloads
11
Maintainers
Readme
@dry-lint/zod
Part of the dry-lint monorepo.
Extracts schema definitions from Zod schemas (.ts) so you can detect duplicate or overlapping z.object(), z.enum(), and other Zod-based validators in your TypeScript codebase.
Install
bun add -D @dry-lint/zodConfigure
Add it to your .drylintrc.json:
{
"plugins": ["@dry-lint/zod"]
}Run detection with the CLI. This plugin auto-registers itself.
More
License
MIT — see LICENSE.
