Skip to content

Commit 630f9f8

Browse files
committed
chore: fix lint issue
1 parent 5b40e65 commit 630f9f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const _globalThis = (function () {
99
if (typeof globalThis !== "undefined") {
1010
return globalThis;
1111
}
12+
/* eslint-disable unicorn/prefer-global-this */
1213
if (typeof self !== "undefined") {
1314
return self;
1415
}
@@ -18,6 +19,7 @@ const _globalThis = (function () {
1819
if (typeof global !== "undefined") {
1920
return global;
2021
}
22+
/* eslint-enable unicorn/prefer-global-this */
2123
throw new Error("unable to locate global object");
2224
})();
2325

0 commit comments

Comments
 (0)