1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 08:39:09 -05:00
denoland-deno/cli/tests/lint/expected_json.out
2020-10-17 17:08:23 +02:00

64 lines
1.2 KiB
Text

{
"diagnostics": [
{
"range": {
"start": {
"line": 1,
"col": 0,
"bytePos": 0
},
"end": {
"line": 1,
"col": 19,
"bytePos": 19
}
},
"filename": "[WILDCARD]file1.js",
"message": "Ignore directive requires lint rule name(s)",
"code": "ban-untagged-ignore",
"hint": [WILDCARD]
},
{
"range": {
"start": {
"line": 2,
"col": 14,
"bytePos": 34
},
"end": {
"line": 2,
"col": 16,
"bytePos": 36
}
},
"filename": "[WILDCARD]file1.js",
"message": "Empty block statement",
"code": "no-empty",
"hint": null
},
{
"range": {
"start": {
"line": 3,
"col": 12,
"bytePos": 56
},
"end": {
"line": 3,
"col": 14,
"bytePos": 58
}
},
"filename": "[WILDCARD]file2.ts",
"message": "Empty block statement",
"code": "no-empty",
"hint": null
}
],
"errors": [
{
"file_path": "[WILDCARD]malformed.js",
"message": "Expected }, got <eof> at [WILDCARD]malformed.js:4:15"
}
]
}