Skip to main content

Module validate

Module validate 

Source
Expand description

Structural validation of parsed .cabal files. Validation of a parsed .cabal file against the Cabal specification.

These are objective spec violations, not opinionated lints. Opinionated checks belong in the separate cabalist-opinions crate.

Functionsยง

validate
Validate a parsed CST against the .cabal specification. Returns diagnostics for any spec violations found.