summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/lint/expected_json.out
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-02-08 20:40:26 -0500
committerGitHub <noreply@github.com>2024-02-09 01:40:26 +0000
commite5e2c45998d3a655c4b2d78c0a1fcb61e09c1982 (patch)
tree4a3af21378652245bdd2e58cc615458d5c163c2c /cli/tests/testdata/lint/expected_json.out
parentb07a156b1d2548c07c7e822ab69d2ef9bfaca630 (diff)
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
Diffstat (limited to 'cli/tests/testdata/lint/expected_json.out')
-rw-r--r--cli/tests/testdata/lint/expected_json.out6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/testdata/lint/expected_json.out b/cli/tests/testdata/lint/expected_json.out
index 08ea0d3e0..95c3d30ba 100644
--- a/cli/tests/testdata/lint/expected_json.out
+++ b/cli/tests/testdata/lint/expected_json.out
@@ -1,6 +1,7 @@
{
"diagnostics": [
{
+ "filename": "[WILDCARD]file1.js",
"range": {
"start": {
"line": 1,
@@ -13,12 +14,12 @@
"bytePos": 19
}
},
- "filename": "[WILDCARD]file1.js",
"message": "Ignore directive requires lint rule name(s)",
"code": "ban-untagged-ignore",
"hint": [WILDCARD]
},
{
+ "filename": "[WILDCARD]file1.js",
"range": {
"start": {
"line": 2,
@@ -31,12 +32,12 @@
"bytePos": 36
}
},
- "filename": "[WILDCARD]file1.js",
"message": "Empty block statement",
"code": "no-empty",
"hint": [WILDCARD]
},
{
+ "filename": "[WILDCARD]file2.ts",
"range": {
"start": {
"line": 3,
@@ -49,7 +50,6 @@
"bytePos": 59
}
},
- "filename": "[WILDCARD]file2.ts",
"message": "Empty block statement",
"code": "no-empty",
"hint": [WILDCARD]