summaryrefslogtreecommitdiff
path: root/cli/tests/unit/dispatch_json_test.ts
diff options
context:
space:
mode:
authorAlan Gou <alan@frontapp.com>2020-06-19 02:05:37 -0700
committerGitHub <noreply@github.com>2020-06-19 11:05:37 +0200
commitffedbd79ad90bc88ef8c51d145536f68f50d4fea (patch)
treec774772d18867fe08a87429446c473be2fc856c5 /cli/tests/unit/dispatch_json_test.ts
parent36ad5e44020a8bd48546e5a8bdb7db9c2f40dc52 (diff)
build: lint cli/tests/unit using deno lint (#6327)
Diffstat (limited to 'cli/tests/unit/dispatch_json_test.ts')
-rw-r--r--cli/tests/unit/dispatch_json_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/unit/dispatch_json_test.ts b/cli/tests/unit/dispatch_json_test.ts
index ebb8217e3..938f4f6e3 100644
--- a/cli/tests/unit/dispatch_json_test.ts
+++ b/cli/tests/unit/dispatch_json_test.ts
@@ -19,13 +19,13 @@ unitTest(
}
);
-/* eslint-disable @typescript-eslint/no-namespace, @typescript-eslint/no-explicit-any,no-var */
declare global {
+ // eslint-disable-next-line @typescript-eslint/no-namespace
namespace Deno {
- var core: any;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ var core: any; // eslint-disable-line no-var
}
}
-/* eslint-enable */
unitTest(function malformedJsonControlBuffer(): void {
const opId = Deno.core.ops()["op_open"];