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",
|
2020-10-30 15:39:53 -04:00
|
|
|
"hint": [WILDCARD]
|
2020-08-13 11:30:46 -04:00
|
|
|
},
|
|
|
|
{
|
2020-09-02 05:39:20 -04:00
|
|
|
"range": {
|
|
|
|
"start": {
|
|
|
|
"line": 3,
|
2021-04-09 17:35:29 -04:00
|
|
|
"col": 13,
|
|
|
|
"bytePos": 57
|
2020-09-02 05:39:20 -04:00
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 3,
|
2021-04-09 17:35:29 -04:00
|
|
|
"col": 15,
|
|
|
|
"bytePos": 59
|
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",
|
2020-10-30 15:39:53 -04:00
|
|
|
"hint": [WILDCARD]
|
2020-08-13 11:30:46 -04:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"errors": [
|
|
|
|
{
|
|
|
|
"file_path": "[WILDCARD]malformed.js",
|
2022-04-08 12:31:47 -04:00
|
|
|
"message": "Expected '{', got 'B' at [WILDCARD]malformed.js:4:16"
|
2020-08-13 11:30:46 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|