mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
137f1a0c68
This initially uses the new diagnostic printer in `deno lint`, `deno doc` and `deno publish`. In the limit we should also update `deno check` to use this printer.
22 lines
667 B
Text
22 lines
667 B
Text
error[ban-untagged-todo]: TODO should be tagged with (@username) or (#issue)
|
|
--> [WILDCARD]b.ts:1:1
|
|
|
|
|
1 | // TODO: this file should be ignored
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
= hint: Add a user tag or issue reference to the TODO comment, e.g. TODO(@djones), TODO(djones), TODO(#123)
|
|
|
|
docs: https://lint.deno.land/#ban-untagged-todo
|
|
|
|
|
|
error[no-unused-vars]: `subtract` is never used
|
|
--> [WILDCARD]b.ts:2:10
|
|
|
|
|
2 | function subtract(a: number, b: number): number {
|
|
| ^^^^^^^^
|
|
= hint: If this is intentional, prefix it with an underscore like `_subtract`
|
|
|
|
docs: https://lint.deno.land/#no-unused-vars
|
|
|
|
|
|
Found 2 problems
|
|
Checked 1 file
|