summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/lint/with_config.out
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-10-04 18:16:49 +0200
committerGitHub <noreply@github.com>2021-10-04 18:16:49 +0200
commitc6ae41fd8701b0fc5735ae4a6fa288f5cb35f03a (patch)
tree158b603227f66638c99b776d70a45e5eb3c7c40d /cli/tests/testdata/lint/with_config.out
parent5f41f822e7ac64ebef41feaebc15c17b6d080958 (diff)
test: refactor lint tests into directories (#12317)
Just reorganizing lint tests in such a way that adding new file in a directory doesn't change result of other tests.
Diffstat (limited to 'cli/tests/testdata/lint/with_config.out')
-rw-r--r--cli/tests/testdata/lint/with_config.out18
1 files changed, 18 insertions, 0 deletions
diff --git a/cli/tests/testdata/lint/with_config.out b/cli/tests/testdata/lint/with_config.out
new file mode 100644
index 000000000..ea4581af8
--- /dev/null
+++ b/cli/tests/testdata/lint/with_config.out
@@ -0,0 +1,18 @@
+(ban-untagged-todo) TODO should be tagged with (@username) or (#issue)
+// TODO: foo
+^^^^^^^^^^^^
+ at [WILDCARD]a.ts:1:0
+
+ 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
+
+(no-unused-vars) `add` is never used
+function add(a: number, b: number): number {
+ ^^^
+ at [WILDCARD]a.ts:2:9
+
+ hint: If this is intentional, prefix it with an underscore like `_add`
+ help: for further information visit https://lint.deno.land/#no-unused-vars
+
+Found 2 problems
+Checked 1 file