Skip to content

Commit 211a1ab

Browse files
committed
Disable eslint/unbound-method
1 parent 2543733 commit 211a1ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/browser/src/integrations/featureFlags/unleash/integration.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const unleashIntegration = defineIntegration((unleashClientClass: Unleash
5151
return result;
5252
},
5353
};
54+
// eslint-disable-next-line @typescript-eslint/unbound-method
5455
const originalIsEnabled = unleashClientPrototype.isEnabled;
5556
unleashClientPrototype.isEnabled = new Proxy(originalIsEnabled, sentryIsEnabled);
5657

@@ -66,6 +67,7 @@ export const unleashIntegration = defineIntegration((unleashClientClass: Unleash
6667
return variant;
6768
},
6869
};
70+
// eslint-disable-next-line @typescript-eslint/unbound-method
6971
const originalGetVariant = unleashClientPrototype.getVariant;
7072
unleashClientPrototype.getVariant = new Proxy(originalGetVariant, sentryGetVariant);
7173
},

0 commit comments

Comments
 (0)