1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
denoland-deno/cli/tests/lint/expected.out
Bartek Iwańczuk e4e332abbb
feat(lint): use default globs, upgrade to v0.1.9 (#6222)
This commit:
* added default file globs so "deno lint" can be run
without arguments (just like "deno fmt")
* added test for globs in "deno lint"
* upgrade "deno_lint" crate to v0.1.9
2020-06-10 23:29:48 +02:00

26 lines
671 B
Text

(ban-untagged-ignore) Ignore directive requires lint rule code
// deno-lint-ignore
~~~~~~~~~~~~~~~~~~~
at [WILDCARD]file1.js:1:0
(no-empty) Empty block statement
while (false) {}
~~
at [WILDCARD]file1.js:2:14
(no-empty) Empty block statement
} catch (e) {}
~~
at [WILDCARD]file2.ts:3:12
(ban-unused-ignore) Ignore for code "require-await" was not used.
// deno-lint-ignore no-explicit-any require-await
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at [WILDCARD]file2.ts:5:0
(no-empty-function) Empty functions are not allowed
function foo(): any {}
~~~~~~~~~~~~~~~~~~~~~~
at [WILDCARD]file2.ts:6:0
Found 5 problems