summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/lint/with_report_config_override.out
blob: ac633d911d725dd1da6639bd03f4cd88f7ba15da (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
{
  "diagnostics": [
    {
      "range": {
        "start": {
          "line": 1,
          "col": 0,
          "bytePos": 0
        },
        "end": {
          "line": 1,
          "col": 12,
          "bytePos": 12
        }
      },
      "filename": "[WILDCARD]a.ts",
      "message": "TODO should be tagged with (@username) or (#issue)",
      "code": "ban-untagged-todo",
      "hint": "Add a user tag or issue reference to the TODO comment, e.g. TODO(@djones), TODO(djones), TODO(#123)"
    },
    {
      "range": {
        "start": {
          "line": 2,
          "col": 9,
          "bytePos": 22
        },
        "end": {
          "line": 2,
          "col": 12,
          "bytePos": 25
        }
      },
      "filename": "[WILDCARD]a.ts",
      "message": "`add` is never used",
      "code": "no-unused-vars",
      "hint": "If this is intentional, prefix it with an underscore like `_add`"
    }
  ],
  "errors": []
}