Re: [PATCH v3] checkpatch: add --json output mode

Joe Perches
2026-04-25T21:52:44Z

On 2026-04-25 13:04, Sasha Levin wrote:
> Add a --json flag to checkpatch.pl that emits structured JSON output,
> making results machine-parseable for CI systems, IDE integrations, and
> AI-assisted code review tools.
[]
> A separate --json-pretty flag emits the same JSON in a pretty-printed
> (indented, multi-line) form for human reading

Why not just always use pretty?
Would a script care?