Skip to content

zerodds-lint: lint and format #38

Description

@carlocorradini

zerodds-lint is currently described as "static analysis for .idl files. Catches missing @key, accidental @mutable on hot-path topics, breaking type evolution. CI-ready."
However, the tool is actually an internal utility used to analyze Rust code rather than IDL files. Since it is intended for internal use, it probably should not be exposed on the public website.

That said, a dedicated IDL linter and formatter could be extremely valuable.
Something similar to buf lint and buf format for Protocol Buffers would help enforce best practices, catch common mistakes, ensure schema consistency, and provide a standardized formatting style for IDL files.
The latter could be integrated directly into zerodds-idlc as two dedicated subcommands: lint and format.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions