summaryrefslogtreecommitdiff
path: root/cli/tests/lint
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/lint')
-rw-r--r--cli/tests/lint/expected_from_stdin_json.out8
-rw-r--r--cli/tests/lint/expected_json.out8
-rw-r--r--cli/tests/lint/file2.ts4
3 files changed, 10 insertions, 10 deletions
diff --git a/cli/tests/lint/expected_from_stdin_json.out b/cli/tests/lint/expected_from_stdin_json.out
index 262d40b30..7ea40e957 100644
--- a/cli/tests/lint/expected_from_stdin_json.out
+++ b/cli/tests/lint/expected_from_stdin_json.out
@@ -4,13 +4,13 @@
"range": {
"start": {
"line": 1,
- "col": 7,
- "bytePos": 7
+ "col": 8,
+ "bytePos": 8
},
"end": {
"line": 1,
- "col": 10,
- "bytePos": 10
+ "col": 11,
+ "bytePos": 11
}
},
"filename": "_stdin.ts",
diff --git a/cli/tests/lint/expected_json.out b/cli/tests/lint/expected_json.out
index f29d311f5..dbeb8039b 100644
--- a/cli/tests/lint/expected_json.out
+++ b/cli/tests/lint/expected_json.out
@@ -40,13 +40,13 @@
"range": {
"start": {
"line": 3,
- "col": 12,
- "bytePos": 56
+ "col": 13,
+ "bytePos": 57
},
"end": {
"line": 3,
- "col": 14,
- "bytePos": 58
+ "col": 15,
+ "bytePos": 59
}
},
"filename": "[WILDCARD]file2.ts",
diff --git a/cli/tests/lint/file2.ts b/cli/tests/lint/file2.ts
index a2be5c5e0..73c612c35 100644
--- a/cli/tests/lint/file2.ts
+++ b/cli/tests/lint/file2.ts
@@ -1,6 +1,6 @@
try {
await Deno.open("./some/file.txt");
-} catch (e) {}
+} catch (_e) {}
// deno-lint-ignore no-explicit-any
-function foo(): any {}
+function _foo(): any {}