1
0
mirror of synced 2025-11-08 21:07:23 +00:00

feat: TS v4, tslint -> eslint, add cspell support (#240)

Update all dependencies, migrate from tslint (deprecated) to typescript-eslint, and add support for
cspell.

BREAKING CHANGE: migrated from tslint (deprecated) to eslint.
This commit is contained in:
Jason Dreyzehner
2020-09-01 19:13:25 -04:00
committed by GitHub
parent ab50e80ec8
commit 390041b510
31 changed files with 6526 additions and 4298 deletions

View File

@@ -1,11 +1,11 @@
// tslint:disable:no-expression-statement no-object-mutation
import test from 'ava';
import { sha256, sha256Native } from './hash';
test(
'sha256',
(t, input: string, expected: string) => {
t.is(sha256(input), expected);
async (t, input: string, expected: string) => {
t.is(await sha256(input), expected);
t.is(sha256Native(input), expected);
},
'test',