1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/cli/tests/lint/expected_json.out

44 lines
944 B
Text
Raw Normal View History

{
"diagnostics": [
{
"location": {
"filename": "[WILDCARD]",
"line": 1,
"col": 0
},
"message": "Ignore directive requires lint rule code",
"code": "ban-untagged-ignore",
"line_src": "// deno-lint-ignore",
"snippet_length": 19
},
{
"location": {
"filename": "[WILDCARD]",
"line": 2,
"col": 14
},
"message": "Empty block statement",
"code": "no-empty",
"line_src": "while (false) {}",
"snippet_length": 2
},
{
"location": {
"filename": "[WILDCARD]",
"line": 3,
"col": 12
},
"message": "Empty block statement",
"code": "no-empty",
"line_src": "} catch (e) {}",
"snippet_length": 2
}
],
"errors": [
{
"file_path": "[WILDCARD]malformed.js",
"message": "Expected RBrace, got None at [WILDCARD]malformed.js:4:15"
}
]
}