flathub-infra / flatpak-builder-lint

A linter for flatpak-builder manifests
MIT License
50 stars 133 forks source link

Linter output unusable direclty in a JSON parser since e35882e #285

Closed tytan652 closed 8 months ago

tytan652 commented 8 months ago

The linter is expected since many versions to output a JSON output, e35882ea16d74d95ef5d5a8b891960b5e6938133 broke this behavior. So it can no longer be used directly in a JSON parser such as jq.

bbhtt commented 8 months ago

What are you using it in jq for?

tytan652 commented 8 months ago

Parse the JSON in a custom bash Github Action with a error filter for errors that should be ignored outside of release (e.g. screenshot) to wrote them as annotations readable in the run summary.