mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
This commit is contained in:
parent
e736d0f60f
commit
8e914be742
124 changed files with 440 additions and 423 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue