diff options
Diffstat (limited to 'tests/testdata/lint/with_config_and_flags.out')
-rw-r--r-- | tests/testdata/lint/with_config_and_flags.out | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/testdata/lint/with_config_and_flags.out b/tests/testdata/lint/with_config_and_flags.out new file mode 100644 index 000000000..f3ad3cafb --- /dev/null +++ b/tests/testdata/lint/with_config_and_flags.out @@ -0,0 +1,22 @@ +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 |