mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 22:34:46 -05:00
8f72798622
Fixes #26930
70 lines
1.4 KiB
Text
70 lines
1.4 KiB
Text
{
|
|
"version": 1,
|
|
"diagnostics": [
|
|
{
|
|
"filename": "[WILDCARD]file1.js",
|
|
"range": {
|
|
"start": {
|
|
"line": 1,
|
|
"col": 0,
|
|
"bytePos": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"col": 19,
|
|
"bytePos": 19
|
|
}
|
|
},
|
|
"message": "Ignore directive requires lint rule name(s)",
|
|
"code": "ban-untagged-ignore",
|
|
"hint": [WILDCARD]
|
|
},
|
|
{
|
|
"filename": "[WILDCARD]file1.js",
|
|
"range": {
|
|
"start": {
|
|
"line": 2,
|
|
"col": 14,
|
|
"bytePos": 34
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"col": 16,
|
|
"bytePos": 36
|
|
}
|
|
},
|
|
"message": "Empty block statement",
|
|
"code": "no-empty",
|
|
"hint": [WILDCARD]
|
|
},
|
|
{
|
|
"filename": "[WILDCARD]file2.ts",
|
|
"range": {
|
|
"start": {
|
|
"line": 3,
|
|
"col": 13,
|
|
"bytePos": 57
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"col": 15,
|
|
"bytePos": 59
|
|
}
|
|
},
|
|
"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 ~"
|
|
}
|
|
],
|
|
"checked_files": [
|
|
"[WILDCARD]file1.js",
|
|
"[WILDCARD]file2.ts",
|
|
"[WILDCARD]malformed.js"
|
|
]
|
|
}
|