From e5e2c45998d3a655c4b2d78c0a1fcb61e09c1982 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 8 Feb 2024 20:40:26 -0500 Subject: fix: upgrade to deno_ast 0.33 (#22341) * Uses diagnostics from deno_ast * Real fix for https://github.com/denoland/deno/pull/22310 * Moves `deno lint --json` code here * Upgrades swc Closes #22117 Closes #22109 Closes #21927 Closes #20993 --- cli/tests/testdata/lint/expected_from_stdin_json.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/tests/testdata/lint/expected_from_stdin_json.out') diff --git a/cli/tests/testdata/lint/expected_from_stdin_json.out b/cli/tests/testdata/lint/expected_from_stdin_json.out index 26bf7ddc7..9e1188bcd 100644 --- a/cli/tests/testdata/lint/expected_from_stdin_json.out +++ b/cli/tests/testdata/lint/expected_from_stdin_json.out @@ -1,6 +1,7 @@ { "diagnostics": [ { + "filename": "[WILDCARD]$deno$stdin.ts", "range": { "start": { "line": 1, @@ -13,7 +14,6 @@ "bytePos": 11 } }, - "filename": "[WILDCARD]$deno$stdin.ts", "message": "`any` type is not allowed", "code": "no-explicit-any", "hint": [WILDCARD] -- cgit v1.2.3