diff options
Diffstat (limited to 'cli/tests/testdata/lint/with_config_and_flags.out')
-rw-r--r-- | cli/tests/testdata/lint/with_config_and_flags.out | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/cli/tests/testdata/lint/with_config_and_flags.out b/cli/tests/testdata/lint/with_config_and_flags.out index 41432df9d..f3ad3cafb 100644 --- a/cli/tests/testdata/lint/with_config_and_flags.out +++ b/cli/tests/testdata/lint/with_config_and_flags.out @@ -1,18 +1,22 @@ -(ban-untagged-todo) TODO should be tagged with (@username) or (#issue) -// TODO: this file should be ignored -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - at [WILDCARD]b.ts:1:1 +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) - hint: Add a user tag or issue reference to the TODO comment, e.g. TODO(@djones), TODO(djones), TODO(#123) - help: for further information visit https://lint.deno.land/#ban-untagged-todo + docs: https://lint.deno.land/#ban-untagged-todo -(no-unused-vars) `subtract` is never used -function subtract(a: number, b: number): number { - ^^^^^^^^ - at [WILDCARD]b.ts:2:10 - hint: If this is intentional, prefix it with an underscore like `_subtract` - help: for further information visit https://lint.deno.land/#no-unused-vars +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 |