mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
a189c5393e
Builds off this PR to add a "report" setting to deno.json which can be "pretty", "compact", or "json".
41 lines
942 B
Text
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": []
|
|
}
|