mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
e5e2c45998
* Uses diagnostics from deno_ast * Real fix for https://github.com/denoland/deno/pull/22310 * Moves `deno lint --json` code here * Upgrades swc Closes #22117 Closes #22109 Closes #21927 Closes #20993
41 lines
942 B
Text
41 lines
942 B
Text
{
|
|
"diagnostics": [
|
|
{
|
|
"filename": "[WILDCARD]a.ts",
|
|
"range": {
|
|
"start": {
|
|
"line": 1,
|
|
"col": 0,
|
|
"bytePos": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"col": 12,
|
|
"bytePos": 12
|
|
}
|
|
},
|
|
"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)"
|
|
},
|
|
{
|
|
"filename": "[WILDCARD]a.ts",
|
|
"range": {
|
|
"start": {
|
|
"line": 2,
|
|
"col": 9,
|
|
"bytePos": 22
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"col": 12,
|
|
"bytePos": 25
|
|
}
|
|
},
|
|
"message": "`add` is never used",
|
|
"code": "no-unused-vars",
|
|
"hint": "If this is intentional, prefix it with an underscore like `_add`"
|
|
}
|
|
],
|
|
"errors": []
|
|
}
|