mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 19:37:59 -05:00
0ee64ad847
Closes #17172 Closes #15669 Closes #8529
64 lines
1.3 KiB
Text
64 lines
1.3 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": [WILDCARD]
|
|
},
|
|
{
|
|
"range": {
|
|
"start": {
|
|
"line": 3,
|
|
"col": 13,
|
|
"bytePos": 57
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"col": 15,
|
|
"bytePos": 59
|
|
}
|
|
},
|
|
"filename": "[WILDCARD]file2.ts",
|
|
"message": "Empty block statement",
|
|
"code": "no-empty",
|
|
"hint": [WILDCARD]
|
|
}
|
|
],
|
|
"errors": [
|
|
{
|
|
"file_path": "[WILDCARD]malformed.js",
|
|
"message": "Expected '{', got 'B' at [WILDCARD]malformed.js:4:16\n\n export class A B C\n ~"
|
|
}
|
|
]
|
|
}
|