summaryrefslogtreecommitdiff
path: root/tests/specs/lint/gitignore/file2.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-11-18 22:54:28 +0000
committerGitHub <noreply@github.com>2024-11-18 23:54:28 +0100
commit106d47a0136c04ca219a81c3f91505116e13855e (patch)
tree040c9523877731416af6bdce366cc33ec60b90e3 /tests/specs/lint/gitignore/file2.ts
parentc36f877f8d98f9756154e26809c614d6749b3fd1 (diff)
feat: fmt and lint respect .gitignore file (#26897)
Closes https://github.com/denoland/deno/issues/26573
Diffstat (limited to 'tests/specs/lint/gitignore/file2.ts')
-rw-r--r--tests/specs/lint/gitignore/file2.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/specs/lint/gitignore/file2.ts b/tests/specs/lint/gitignore/file2.ts
new file mode 100644
index 000000000..73c612c35
--- /dev/null
+++ b/tests/specs/lint/gitignore/file2.ts
@@ -0,0 +1,6 @@
+try {
+ await Deno.open("./some/file.txt");
+} catch (_e) {}
+
+// deno-lint-ignore no-explicit-any
+function _foo(): any {}