Skip to main content

Module design_lint

Module design_lint 

Source
Expand description

design:lint command — walk JSON-UI spec files and report design-pattern findings.

Discovers *.json files under a directory (default src/views), skips files without the ferro-json-ui/v2 schema marker, and runs ferro_json_ui::design::lint on every matching spec. Findings are grouped by file in human-readable mode or emitted as a flat JSON array via --json.

Exit code is 0 unless --deny is set and at least one warning-level finding exists. Info findings never cause a non-zero exit.

Structs§

FileFinding
One finding tagged with the file it came from.

Functions§

run
Main entry point for the design:lint command.