chrishoermann / zod-prisma-types

Generator creates zod types for your prisma models with advanced validation
Other
579 stars 43 forks source link

Add `--prettier` flag to support auto-formatting output file #131

Closed andenacitelli closed 1 year ago

andenacitelli commented 1 year ago

This library exposes an option like that: https://github.com/astahmer/openapi-zod-client

While it's easy to simply create a .prettierignore and an .eslintignore file with the output in it, or to automatically run prettier afterwards, I figure I may as well suggest adding this kind of option. Not high priority or anything, just something I think would make a positive addition.