mirror of
https://github.com/denoland/deno.git
synced 2024-11-14 16:33:45 -05:00
37 lines
885 B
Text
37 lines
885 B
Text
|
(no-var) `var` keyword is not allowed
|
||
|
var a = 1,
|
||
|
~~~~~~~~~~
|
||
|
at [WILDCARD]file1.js:1:0
|
||
|
|
||
|
(single-var-declarator) Multiple variable declarators are not allowed
|
||
|
var a = 1,
|
||
|
~~~~~~~~~~
|
||
|
at [WILDCARD]file1.js:1:0
|
||
|
|
||
|
(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
|
||
|
|
||
|
(ban-untagged-ignore) Ignore directive requires lint rule code
|
||
|
// deno-lint-ignore
|
||
|
~~~~~~~~~~~~~~~~~~~
|
||
|
at [WILDCARD]file2.ts:8:0
|
||
|
|
||
|
(no-empty) Empty block statement
|
||
|
while (false) {}
|
||
|
~~
|
||
|
at [WILDCARD]file2.ts:9:14
|
||
|
|
||
|
Found 7 problems
|