Documentation
    Preparing search index...

    Module @dry-lint/zod

    @dry-lint/zod

    CI Docs License

    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.


    bun add -D @dry-lint/zod
    

    Add it to your .drylintrc.json:

    {
    "plugins": ["@dry-lint/zod"]
    }

    Run detection with the CLI. This plugin auto-registers itself.



    MIT — see LICENSE.

    Functions

    flattenZodType