Skip to content

Commit 4351b55

Browse files
committed
fix remaining linting issues
Signed-off-by: Michael Beemer <[email protected]>
1 parent 0c9f821 commit 4351b55

File tree

6 files changed

+7
-4
lines changed

6 files changed

+7
-4
lines changed

libs/hooks/open-telemetry/src/lib/metrics/metrics-hook.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ describe(MetricsHook.name, () => {
225225
} as EvaluationDetails<number>;
226226

227227
// configure a mapper that throws
228-
const attributeMapper: AttributeMapper = (_) => {
228+
const attributeMapper: AttributeMapper = () => {
229229
throw new Error('fake error');
230230
};
231231
const hook = new MetricsHook({ attributeMapper });

libs/hooks/open-telemetry/src/lib/traces/tracing-hook.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe('OpenTelemetry Hooks', () => {
148148
describe('error in mapper', () => {
149149
beforeEach(() => {
150150
tracingHook = new TracingHook({
151-
attributeMapper: (_) => {
151+
attributeMapper: () => {
152152
throw new Error('fake error');
153153
},
154154
});

libs/providers/config-cat/src/lib/config-cat-provider.spec.ts

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ describe('ConfigCatProvider', () => {
3939
await provider.initialize();
4040

4141
// Currently there is no option to get access to the event emitter
42+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
4243
configCatEmitter = (provider.configCatClient as any).options.hooks;
4344
});
4445

libs/providers/go-feature-flag-web/src/lib/model.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-explicit-any */
12
import { FlagValue, ErrorCode, EvaluationContextValue } from '@openfeature/web-sdk';
23

34
/**

libs/providers/go-feature-flag/src/lib/data-collector-hook.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class GoFeatureFlagDataCollectorHook implements Hook {
9191
}
9292
}
9393

94-
after(hookContext: HookContext, evaluationDetails: EvaluationDetails<FlagValue>, hookHints?: HookHints) {
94+
after(hookContext: HookContext, evaluationDetails: EvaluationDetails<FlagValue>) {
9595
if (!this.collectUnCachedEvaluation && evaluationDetails.reason !== StandardResolutionReasons.CACHED) {
9696
return;
9797
}
@@ -109,7 +109,7 @@ export class GoFeatureFlagDataCollectorHook implements Hook {
109109
this.dataCollectorBuffer?.push(event);
110110
}
111111

112-
error(hookContext: HookContext, err: unknown, hookHints?: HookHints) {
112+
error(hookContext: HookContext) {
113113
const event = {
114114
contextKind: hookContext.context['anonymous'] ? 'anonymousUser' : 'user',
115115
kind: 'feature',

libs/providers/launchdarkly-client/src/lib/translate-context.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable @typescript-eslint/no-explicit-any */
12
//Copyright 2022 Catamorphic, Co.
23
//
34
// Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)