ESLint plugin providing custom lint rules for projects using zod-openapi, which extends Zod with OpenAPI metadata. Version 2.0.0 requires Node >=16.11 and ships TypeScript types. It enforces best practices like requiring `.meta()`, JSDoc comments, and examples on Zod types, and provides auto-fixable rules. Differentiates from generic ESLint plugins by being purpose-built for zod-openapi's `.meta()` chain pattern. Released via GitHub Releases with manual tagging.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
The plugin should be referenced by name 'zod-openapi' in the plugins array, not required directly. Configuration is done via rules object.
Rule names are prefixed with 'zod-openapi/' in the rules object. Forgetting the prefix will not apply the rule.
Rule does not accept options. The fix is auto-applied with --fix.
Typical usage is as warn; severity can be adjusted per project.
ESLint configuration enabling all zod-openapi rules with overrides for API type files.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.