diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-11-03 16:19:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 16:19:29 +0100 |
commit | 8e914be7420715620cad74fbb020c5e87ac875a2 (patch) | |
tree | 2fefc0111f85533de2bd24e54f70c6c1241e3d3b /std/fmt/printf.ts | |
parent | e736d0f60f6cdf38e2d317ee08a7125de9e57d69 (diff) |
build: migrate to dlint (#8176)
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
Diffstat (limited to 'std/fmt/printf.ts')
-rw-r--r-- | std/fmt/printf.ts | 4 |
1 files changed, 2 insertions, 2 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": |