diff options
Diffstat (limited to 'std/fmt')
-rw-r--r-- | std/fmt/printf.ts | 4 | ||||
-rw-r--r-- | std/fmt/printf_test.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/std/fmt/printf.ts b/std/fmt/printf.ts index d3a87c51b..b12ee7a2c 100644 --- a/std/fmt/printf.ts +++ b/std/fmt/printf.ts @@ -278,7 +278,7 @@ class Printf { } handleLessThan(): string { - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any const arg = this.args[this.argNum] as any; if ((arg || {}).constructor.name !== "Array") { throw new Error(`arg ${arg} is not an array. Todo better error handling`); @@ -315,7 +315,7 @@ class Printf { this.state = State.PASSTHROUGH; } - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any _handleVerb(arg: any): string { switch (this.verb) { case "t": diff --git a/std/fmt/printf_test.ts b/std/fmt/printf_test.ts index e4399812b..3987d0b73 100644 --- a/std/fmt/printf_test.ts +++ b/std/fmt/printf_test.ts @@ -230,7 +230,7 @@ Deno.test("testZero", function (): void { }); // relevant test cases from fmt_test.go -// eslint-disable-next-line @typescript-eslint/no-explicit-any +// deno-lint-ignore no-explicit-any const tests: Array<[string, any, string]> = [ ["%d", 12345, "12345"], ["%v", 12345, "12345"], |