diff options
| author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-06-09 18:40:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-09 18:40:08 +0200 |
| commit | 8366f36873bb7311f533e5e49d9ad13581b0b5c1 (patch) | |
| tree | ee7beb3895d7ec1e3e1bc237627ecfff7c265438 /cli/tests/lint/expected.out | |
| parent | 1e0808d501cf9adea65e7cacd123ea4fea06a13a (diff) | |
upgrade: deno_lint v0.1.8 (#6208)
Diffstat (limited to 'cli/tests/lint/expected.out')
| -rw-r--r-- | cli/tests/lint/expected.out | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/cli/tests/lint/expected.out b/cli/tests/lint/expected.out new file mode 100644 index 000000000..0b0654298 --- /dev/null +++ b/cli/tests/lint/expected.out @@ -0,0 +1,36 @@ +(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 |
