build: lint cli/tests/unit using deno lint (#6327)

This commit is contained in:
Alan Gou 2020-06-19 02:05:37 -07:00 committed by GitHub
parent 36ad5e4402
commit ffedbd79ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 42 additions and 19 deletions

View file

@ -506,7 +506,7 @@ unitTest(async function transformStreamStartCalledOnce() {
unitTest(function transformStreamReadableTypeThrows() {
assertThrows(
// eslint-disable-next-line
// eslint-disable-next-line @typescript-eslint/no-explicit-any
() => new TransformStream({ readableType: "bytes" as any }),
RangeError,
undefined,
@ -516,7 +516,7 @@ unitTest(function transformStreamReadableTypeThrows() {
unitTest(function transformStreamWirtableTypeThrows() {
assertThrows(
// eslint-disable-next-line
// eslint-disable-next-line @typescript-eslint/no-explicit-any
() => new TransformStream({ writableType: "bytes" as any }),
RangeError,
undefined,