save-cli
save-cli copied to clipboard
Support the byteOffset from Region object for Sarif
Seems, that Sarif supports two options for identify the place of warning/fixes via Region object:
- By indicating the lines and columns
- By indicating the byteOffset and byteLength
For now we support only lines and columns for indicating, but it will be good enough to support byte offsets too
See https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html#_Toc34317889