summaryrefslogtreecommitdiff
path: root/tests/specs/lint/json/expected_json.out
blob: 6712c891a592dd90603d75b64be54b935d4678c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
  "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                 ~"
    }
  ]
}