0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
denoland-deno/cli/tests/lint/expected_json.out

44 lines
940 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 }, got <eof> at [WILDCARD]malformed.js:4:15"
}
]
}