Skip to content

v1.9.0

Choose a tag to compare

@stevensacks stevensacks released this 03 Jul 13:13
· 46 commits to main since this release
9384dba

Minor Changes

  • #36 fe262a6 Thanks @stevensacks! - Add the no-zod-enum guardrail: z.enum(...) is now an error in .ts/.tsx. Use z.literal([...]) for string unions (sort values alphanumerically). Report-only (no autofix), since z.enum's .enum/.options accessors have no z.literal array equivalent and a rename can't sort. Consumers with existing z.enum() will see a new lint error on upgrade.