This crate provides a command line tool to format SARIF files to pretty printed text.
The latest documentation can be found here.
SARIF or the Static Analysis Results Interchange Format is an industry standard format for the output of static analysis tools. More information can be found on the official website: https://sarifweb.azurewebsites.net/.
sarif-fmt
may be insalled via cargo
shell
cargo install sarif-fmt
For most cases, simply pipe a SARIF file into sarif-fmt
shell
cargo clippy --message-format=json | clippy-sarif | sarif-fmt
License: MIT