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
|
@ -68,7 +68,7 @@ unitTest(function eventPreventDefaultSuccess(): void {
|
|||
});
|
||||
|
||||
unitTest(function eventInitializedWithNonStringType(): void {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
// deno-lint-ignore no-explicit-any
|
||||
const type: any = undefined;
|
||||
const event = new Event(type);
|
||||
|
||||
|
@ -94,7 +94,7 @@ unitTest(function eventIsTrusted(): void {
|
|||
});
|
||||
|
||||
unitTest(function eventInspectOutput(): void {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
// deno-lint-ignore no-explicit-any
|
||||
const cases: Array<[any, (event: any) => string]> = [
|
||||
[
|
||||
new Event("test"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue