Adjust ErrorLogger to conform to current SARIF draft
See https://github.com/sarif-standard/sarif-spec * Change structure from: { "version": <version>, "toolInfo": <toolInfo>, "issues": [ <issue>* ] } to: { "version": <version>, "runLogs": [ { "toolInfo": <toolInfo>, "issues": [ <issue>* ] } ] } * Flatten custom properties to conform to requirement for all issue property values to be strings: "customProperties": { "a": "b", "c": "d" } -> "customProperties.a": "b", "customProperties.c": "d" * Rename toolName -> name * Rename productVersion -> version * Let original fileVersion through without trimming off 4th part * Use actual URI syntax for "uri" elements * Make region start/end line/column 1-based
Showing
想要评论请 注册 或 登录