1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/cli/tests/testdata/lint/with_report_config_override.out
Brenley Dueck a189c5393e
feat(lint): add a report lint config setting (#16045)
Builds off this PR to add a "report" setting to deno.json which can be
"pretty", "compact", or "json".
2022-10-25 14:21:20 +02:00

41 lines
942 B
Text

{
"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": []
}