2020-08-13 11:30:46 -04:00
|
|
|
{
|
|
|
|
"diagnostics": [
|
|
|
|
{
|
2020-09-02 05:39:20 -04:00
|
|
|
"range": {
|
|
|
|
"start": {
|
|
|
|
"line": 1,
|
2020-10-17 11:08:23 -04:00
|
|
|
"col": 0,
|
|
|
|
"bytePos": 0
|
2020-09-02 05:39:20 -04:00
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 1,
|
2020-10-17 11:08:23 -04:00
|
|
|
"col": 19,
|
|
|
|
"bytePos": 19
|
2020-09-02 05:39:20 -04:00
|
|
|
}
|
2020-08-13 11:30:46 -04:00
|
|
|
},
|
2020-09-02 05:39:20 -04:00
|
|
|
"filename": "[WILDCARD]file1.js",
|
2020-10-17 11:08:23 -04:00
|
|
|
"message": "Ignore directive requires lint rule name(s)",
|
2020-10-02 07:51:37 -04:00
|
|
|
"code": "ban-untagged-ignore",
|
2020-10-17 11:08:23 -04:00
|
|
|
"hint": [WILDCARD]
|
2020-08-13 11:30:46 -04:00
|
|
|
},
|
|
|
|
{
|
2020-09-02 05:39:20 -04:00
|
|
|
"range": {
|
|
|
|
"start": {
|
|
|
|
"line": 2,
|
2020-10-17 11:08:23 -04:00
|
|
|
"col": 14,
|
|
|
|
"bytePos": 34
|
2020-09-02 05:39:20 -04:00
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 2,
|
2020-10-17 11:08:23 -04:00
|
|
|
"col": 16,
|
|
|
|
"bytePos": 36
|
2020-09-02 05:39:20 -04:00
|
|
|
}
|
2020-08-13 11:30:46 -04:00
|
|
|
},
|
2020-09-02 05:39:20 -04:00
|
|
|
"filename": "[WILDCARD]file1.js",
|
2020-08-13 11:30:46 -04:00
|
|
|
"message": "Empty block statement",
|
2020-10-02 07:51:37 -04:00
|
|
|
"code": "no-empty",
|
|
|
|
"hint": null
|
2020-08-13 11:30:46 -04:00
|
|
|
},
|
|
|
|
{
|
2020-09-02 05:39:20 -04:00
|
|
|
"range": {
|
|
|
|
"start": {
|
|
|
|
"line": 3,
|
2020-10-17 11:08:23 -04:00
|
|
|
"col": 12,
|
|
|
|
"bytePos": 56
|
2020-09-02 05:39:20 -04:00
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 3,
|
2020-10-17 11:08:23 -04:00
|
|
|
"col": 14,
|
|
|
|
"bytePos": 58
|
2020-09-02 05:39:20 -04:00
|
|
|
}
|
2020-08-13 11:30:46 -04:00
|
|
|
},
|
2020-09-02 05:39:20 -04:00
|
|
|
"filename": "[WILDCARD]file2.ts",
|
2020-08-13 11:30:46 -04:00
|
|
|
"message": "Empty block statement",
|
2020-10-02 07:51:37 -04:00
|
|
|
"code": "no-empty",
|
|
|
|
"hint": null
|
2020-08-13 11:30:46 -04:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"errors": [
|
|
|
|
{
|
|
|
|
"file_path": "[WILDCARD]malformed.js",
|
2020-08-23 07:57:09 -04:00
|
|
|
"message": "Expected }, got <eof> at [WILDCARD]malformed.js:4:15"
|
2020-08-13 11:30:46 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|