diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-10-02 13:51:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 13:51:37 +0200 |
commit | e5348a6a38b3c06a916223ad0b99e8cfe47725b1 (patch) | |
tree | 8c8f5f0e2328781b96f92e4842cc0b4a64b35650 /cli/tests | |
parent | 5cd29b37f7946ac05783bae777be8503182a8b8e (diff) |
upgrade: swc, deno_doc, deno_lint, dprint (#7793)
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/lint/expected_from_stdin_json.out | 3 | ||||
-rw-r--r-- | cli/tests/lint/expected_json.out | 9 | ||||
-rw-r--r-- | cli/tests/unit/console_test.ts | 1 |
3 files changed, 9 insertions, 4 deletions
diff --git a/cli/tests/lint/expected_from_stdin_json.out b/cli/tests/lint/expected_from_stdin_json.out index ed5a0c5dc..148ee6cdd 100644 --- a/cli/tests/lint/expected_from_stdin_json.out +++ b/cli/tests/lint/expected_from_stdin_json.out @@ -13,7 +13,8 @@ }, "filename": "_stdin.ts", "message": "`any` type is not allowed", - "code": "no-explicit-any" + "code": "no-explicit-any", + "hint": null } ], "errors": [] diff --git a/cli/tests/lint/expected_json.out b/cli/tests/lint/expected_json.out index 71340578e..a49818a3b 100644 --- a/cli/tests/lint/expected_json.out +++ b/cli/tests/lint/expected_json.out @@ -13,7 +13,8 @@ }, "filename": "[WILDCARD]file1.js", "message": "Ignore directive requires lint rule code", - "code": "ban-untagged-ignore" + "code": "ban-untagged-ignore", + "hint": null }, { "range": { @@ -28,7 +29,8 @@ }, "filename": "[WILDCARD]file1.js", "message": "Empty block statement", - "code": "no-empty" + "code": "no-empty", + "hint": null }, { "range": { @@ -43,7 +45,8 @@ }, "filename": "[WILDCARD]file2.ts", "message": "Empty block statement", - "code": "no-empty" + "code": "no-empty", + "hint": null } ], "errors": [ diff --git a/cli/tests/unit/console_test.ts b/cli/tests/unit/console_test.ts index c9cbcc313..caee51a31 100644 --- a/cli/tests/unit/console_test.ts +++ b/cli/tests/unit/console_test.ts @@ -1501,6 +1501,7 @@ unitTest(function inspectString(): void { unitTest(function inspectGetterError(): void { assertEquals( Deno.inspect({ + // deno-lint-ignore getter-return get foo() { throw new Error("bar"); }, |