summaryrefslogtreecommitdiff
path: root/cli/tests/hash.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/hash.ts')
-rw-r--r--cli/tests/hash.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/tests/hash.ts b/cli/tests/hash.ts
index 74438bd77..e3c64b642 100644
--- a/cli/tests/hash.ts
+++ b/cli/tests/hash.ts
@@ -1,4 +1,4 @@
-/* eslint-disable @typescript-eslint/no-explicit-any */
+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
const { args } = Deno;
import { createHash, SupportedAlgorithm } from "../../std/hash/mod.ts";
@@ -6,6 +6,7 @@ import { Md5 } from "../../std/hash/md5.ts";
import { Sha1 } from "../../std/hash/sha1.ts";
import { Sha256 } from "../../std/hash/sha256.ts";
import { Sha512 } from "../../std/hash/sha512.ts";
+// deno-lint-ignore camelcase
import { Sha3_224, Sha3_256, Sha3_384, Sha3_512 } from "../../std/hash/sha3.ts";
if (args.length < 3) Deno.exit(0);
@@ -14,6 +15,7 @@ const method = args[0];
const alg = args[1];
const inputFile = args[2];
+// deno-lint-ignore no-explicit-any
function getJsHash(alg: string): any {
switch (alg) {
case "md5":