build: migrate to dlint (#8176)

This commit migrates repository from using "eslint" 
to "dlint" for linting JavaScript code.
This commit is contained in:
Bartek Iwańczuk 2020-11-03 16:19:29 +01:00 committed by GitHub
parent e736d0f60f
commit 8e914be742
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
124 changed files with 440 additions and 423 deletions

View file

@ -319,7 +319,7 @@ unitTest(
// writing null should throw an error
await assertThrowsAsync(
async (): Promise<void> => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// deno-lint-ignore no-explicit-any
await file.write(null as any);
},
); // TODO: Check error kind when dispatch_minimal pipes errors properly
@ -346,7 +346,7 @@ unitTest(
// reading file into null buffer should throw an error
await assertThrowsAsync(async () => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// deno-lint-ignore no-explicit-any
await file.read(null as any);
}, TypeError);
// TODO: Check error kind when dispatch_minimal pipes errors properly