summaryrefslogtreecommitdiff
path: root/std/hash
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-08-25 09:43:54 +1000
committerGitHub <noreply@github.com>2020-08-24 19:43:54 -0400
commitc4d5b01acfe0cac31f94743a57e8e619178ba563 (patch)
tree1987fe2e23c4db59a44159f4c7d21ecc61be4ad3 /std/hash
parent9b0f9c876529696c8008dda8b3606e34d3fe98dc (diff)
feat: update to TypeScript 4.0 (#6514)
Diffstat (limited to 'std/hash')
-rw-r--r--std/hash/_sha3/sha3.ts2
-rw-r--r--std/hash/sha3.ts1
-rw-r--r--std/hash/sha3_test.ts2
3 files changed, 1 insertions, 4 deletions
diff --git a/std/hash/_sha3/sha3.ts b/std/hash/_sha3/sha3.ts
index 393889210..05b9d82e3 100644
--- a/std/hash/_sha3/sha3.ts
+++ b/std/hash/_sha3/sha3.ts
@@ -3,8 +3,6 @@
import { Sponge } from "./sponge.ts";
import { keccakf } from "./keccakf.ts";
-/* eslint-disable @typescript-eslint/camelcase, @typescript-eslint/class-name-casing */
-
/** Sha3-224 hash */
export class Sha3_224 extends Sponge {
constructor() {
diff --git a/std/hash/sha3.ts b/std/hash/sha3.ts
index b5154fbdf..33ae4a8d0 100644
--- a/std/hash/sha3.ts
+++ b/std/hash/sha3.ts
@@ -1,6 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-/* eslint-disable-next-line @typescript-eslint/camelcase */
export { Sha3_224, Sha3_256, Sha3_384, Sha3_512 } from "./_sha3/sha3.ts";
export { Keccak224, Keccak256, Keccak384, Keccak512 } from "./_sha3/keccak.ts";
export { Shake128, Shake256 } from "./_sha3/shake.ts";
diff --git a/std/hash/sha3_test.ts b/std/hash/sha3_test.ts
index b5936f960..4ff0ec63e 100644
--- a/std/hash/sha3_test.ts
+++ b/std/hash/sha3_test.ts
@@ -1,5 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-/* eslint-disable @typescript-eslint/camelcase */
+
import { assertEquals, assertThrows } from "../testing/asserts.ts";
import {
Keccak224,