diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-11-03 16:19:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 16:19:29 +0100 |
commit | 8e914be7420715620cad74fbb020c5e87ac875a2 (patch) | |
tree | 2fefc0111f85533de2bd24e54f70c6c1241e3d3b /cli/tests/workers_test.ts | |
parent | e736d0f60f6cdf38e2d317ee08a7125de9e57d69 (diff) |
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
Diffstat (limited to 'cli/tests/workers_test.ts')
-rw-r--r-- | cli/tests/workers_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/workers_test.ts b/cli/tests/workers_test.ts index 06349efa0..31dc72deb 100644 --- a/cli/tests/workers_test.ts +++ b/cli/tests/workers_test.ts @@ -11,7 +11,7 @@ import { assert, assertEquals } from "../../std/testing/asserts.ts"; export interface ResolvableMethods<T> { resolve: (value?: T | PromiseLike<T>) => void; - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any reject: (reason?: any) => void; } @@ -93,7 +93,7 @@ Deno.test({ { type: "module" }, ); - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any throwingWorker.onerror = (e: any): void => { e.preventDefault(); assert(/Uncaught Error: Thrown error/.test(e.message)); @@ -133,7 +133,7 @@ Deno.test({ { type: "module" }, ); - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any fetchingWorker.onerror = (e: any): void => { e.preventDefault(); promise.reject(e.message); |