From 630f9f83155652358c6a0fed53aec7d10c0c67ce Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 20 Jan 2025 12:08:22 +0200 Subject: [PATCH] chore: fix lint issue --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index 7bfdb04a..4f7d3e10 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,6 +9,7 @@ const _globalThis = (function () { if (typeof globalThis !== "undefined") { return globalThis; } + /* eslint-disable unicorn/prefer-global-this */ if (typeof self !== "undefined") { return self; } @@ -18,6 +19,7 @@ const _globalThis = (function () { if (typeof global !== "undefined") { return global; } + /* eslint-enable unicorn/prefer-global-this */ throw new Error("unable to locate global object"); })();