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

@ -84,7 +84,7 @@ unitTest({ perms: { net: true } }, async function fetchBodyUsed(): Promise<
const response = await fetch("http://localhost:4545/cli/tests/fixture.json");
assertEquals(response.bodyUsed, false);
assertThrows((): void => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// deno-lint-ignore no-explicit-any
(response as any).bodyUsed = true;
});
await response.blob();