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/file2.ts | |
parent | 1e0808d501cf9adea65e7cacd123ea4fea06a13a (diff) |
upgrade: deno_lint v0.1.8 (#6208)
Diffstat (limited to 'cli/tests/lint/file2.ts')
-rw-r--r-- | cli/tests/lint/file2.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/lint/file2.ts b/cli/tests/lint/file2.ts new file mode 100644 index 000000000..f0f3a3ba3 --- /dev/null +++ b/cli/tests/lint/file2.ts @@ -0,0 +1,9 @@ +try { + await Deno.open("./some/file.txt"); +} catch (e) {} + +// deno-lint-ignore no-explicit-any require-await +function foo(): any {} + +// deno-lint-ignore +while (false) {} |