1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 02:29:06 -05:00
denoland-deno/cli/tests/testdata/lint/with_config.out

23 lines
599 B
Text
Raw Normal View History

error[ban-untagged-todo]: TODO should be tagged with (@username) or (#issue)
--> [WILDCARD]a.ts:1:1
|
1 | // TODO: foo
| ^^^^^^^^^^^^
= 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]: `add` is never used
--> [WILDCARD]a.ts:2:10
|
2 | function add(a: number, b: number): number {
| ^^^
= hint: If this is intentional, prefix it with an underscore like `_add`
docs: https://lint.deno.land/#no-unused-vars
Found 2 problems
Checked 1 file