mirror of
https://github.com/github/codeql-action.git
synced 2026-01-01 04:00:24 +08:00
55 lines
1.3 KiB
JSON
55 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
|
|
"version": "2.1.0",
|
|
"runs": [
|
|
{
|
|
"tool": {
|
|
"driver": {
|
|
"name": "LGTM.com",
|
|
"organization": "Semmle",
|
|
"version": "1.24.0-SNAPSHOT",
|
|
"rules": [
|
|
{
|
|
"id": "js/unused-local-variable",
|
|
"shortDescription": {
|
|
"text": "Unused local variable"
|
|
},
|
|
"helpUri": "not a valid URI"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"results": [
|
|
{
|
|
"ruleId": "js/unused-local-variable",
|
|
"ruleIndex": 0,
|
|
"message": {
|
|
"text": "Unused variable foo."
|
|
},
|
|
"locations": [
|
|
{
|
|
"physicalLocation": {
|
|
"artifactLocation": {
|
|
"uri": "not a valid URI",
|
|
"uriBaseId": "%SRCROOT%",
|
|
"index": 0
|
|
},
|
|
"region": {
|
|
"startLine": 2,
|
|
"startColumn": 7,
|
|
"endColumn": 10
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"columnKind": "utf16CodeUnits",
|
|
"properties": {
|
|
"semmle.formatSpecifier": "2.1.0",
|
|
"semmle.sourceLanguage": "java"
|
|
}
|
|
}
|
|
]
|
|
}
|