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/node/buffer.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/node/buffer.ts')
-rw-r--r-- | std/node/buffer.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/node/buffer.ts b/std/node/buffer.ts index b806f8f3a..6d307b6df 100644 --- a/std/node/buffer.ts +++ b/std/node/buffer.ts @@ -204,7 +204,7 @@ export default class Buffer extends Uint8Array { */ static from(string: string, encoding?: string): Buffer; static from( - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any value: any, offsetOrEncoding?: number | string, length?: number, @@ -234,7 +234,7 @@ export default class Buffer extends Uint8Array { return obj instanceof Buffer; } - // eslint-disable-next-line @typescript-eslint/no-explicit-any + // deno-lint-ignore no-explicit-any static isEncoding(encoding: any): boolean { return ( typeof encoding === "string" && |