diff options
Diffstat (limited to 'std/path')
-rw-r--r-- | std/path/_constants.ts | 2 | ||||
-rw-r--r-- | std/path/glob.ts | 1 | ||||
-rw-r--r-- | std/path/posix.ts | 1 | ||||
-rw-r--r-- | std/path/win32.ts | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/std/path/_constants.ts b/std/path/_constants.ts index 920979432..d26334b55 100644 --- a/std/path/_constants.ts +++ b/std/path/_constants.ts @@ -48,7 +48,7 @@ export const CHAR_0 = 48; /* 0 */ export const CHAR_9 = 57; /* 9 */ let NATIVE_OS: typeof Deno.build.os = "linux"; -// eslint-disable-next-line @typescript-eslint/no-explicit-any +// deno-lint-ignore no-explicit-any const navigator = (globalThis as any).navigator; if (globalThis.Deno != null) { NATIVE_OS = Deno.build.os; diff --git a/std/path/glob.ts b/std/path/glob.ts index d8eb1d95d..fde2fe8e2 100644 --- a/std/path/glob.ts +++ b/std/path/glob.ts @@ -316,7 +316,6 @@ export function globToRegExp( /** Test whether the given string is a glob */ export function isGlob(str: string): boolean { const chars: Record<string, string> = { "{": "}", "(": ")", "[": "]" }; - /* eslint-disable-next-line max-len */ const regex = /\\(.)|(^!|\*|[\].+)]\?|\[[^\\\]]+\]|\{[^\\}]+\}|\(\?[:!=][^\\)]+\)|\([^|]+\|[^\\)]+\))/; diff --git a/std/path/posix.ts b/std/path/posix.ts index d2845f3da..7682ec788 100644 --- a/std/path/posix.ts +++ b/std/path/posix.ts @@ -334,7 +334,6 @@ export function extname(path: string): string { } export function format(pathObject: FormatInputPathObject): string { - /* eslint-disable max-len */ if (pathObject === null || typeof pathObject !== "object") { throw new TypeError( `The "pathObject" argument must be of type Object. Received type ${typeof pathObject}`, diff --git a/std/path/win32.ts b/std/path/win32.ts index 1684a2c45..6daff65c8 100644 --- a/std/path/win32.ts +++ b/std/path/win32.ts @@ -747,7 +747,6 @@ export function extname(path: string): string { } export function format(pathObject: FormatInputPathObject): string { - /* eslint-disable max-len */ if (pathObject === null || typeof pathObject !== "object") { throw new TypeError( `The "pathObject" argument must be of type Object. Received type ${typeof pathObject}`, |