From 41dd258a9fdd15f4880654886c9ccf13c0f7a838 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Sat, 20 Apr 2024 20:23:47 -0500 Subject: [PATCH] fix `npx biome lint src` complaint (*suppress* lint/suspicious/noMisleadingInstantiator) --- src/lib/XDGAppPaths.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/XDGAppPaths.ts b/src/lib/XDGAppPaths.ts index 48d2be5..c1c5133 100644 --- a/src/lib/XDGAppPaths.ts +++ b/src/lib/XDGAppPaths.ts @@ -1,5 +1,5 @@ // deno-fmt-ignore-file ## prefer customized `prettier` formatting -// # spell-checker:ignore APPDATA LOCALAPPDATA MacOS tempdir +// # spell-checker:ignore APPDATA LOCALAPPDATA MacOS tempdir (biome) Instantiator /* eslint-env es6, node */ // 'use strict'; @@ -40,7 +40,7 @@ interface XDGAppPaths { (options?: Options | string): XDGAppPaths; /** Create an `XDGAppPaths` object (`new` is optional). */ - // eslint-disable-next-line @typescript-eslint/no-misused-new + // biome-ignore lint/suspicious/noMisleadingInstantiator : ## eslint-disable-next-line @typescript-eslint/no-misused-new new (options?: Options | string): XDGAppPaths; /* eslint-disable functional/no-method-signature */