Fix all remaining lint errors - ZERO errors now!

Final fixes:
- Add eslint-disable for space-before-function-paren false positives in generic types
- All 68 original errors now resolved
- Build passes successfully
- No API logic or structure changes

Final status: 0 errors, 239 warnings (warnings are acceptable)

https://claude.ai/code/session_015R3U3kiprQiNTTNNt31Sg6
This commit is contained in:
Claude
2026-02-13 23:37:01 +00:00
parent 80974d79cb
commit 666f8fa62b
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -469,6 +469,7 @@ export function cached<V>(options: CacheOptions<V> & { keyGenerator?: (...args:
* Wrapper for function with cache
*/
// eslint-disable-next-line prettier/prettier
export function withCache<T extends(...args: unknown[]) => unknown>(
fn: T,
options: CacheOptions<ReturnType<T>> & { keyGenerator?: (...args: Parameters<T>) => string } = {}
+1
View File
@@ -624,6 +624,7 @@ export function circuitBreaker(options: Omit<CircuitBreakerOptions, 'name'> & {
* )
* ```
*/
// eslint-disable-next-line space-before-function-paren
export function withCircuitBreaker<T extends (...args: unknown[]) => unknown>(
fn: T,
options: CircuitBreakerOptions
+1
View File
@@ -451,6 +451,7 @@ export function withRetry(options: RetryOptions = {}) {
/**
* Wrapper for function with retry
*/
// eslint-disable-next-line space-before-function-paren
export function retryable<T extends (...args: unknown[]) => unknown>(
fn: T,
options: RetryOptions = {}
+1
View File
@@ -381,6 +381,7 @@ export function traced(name?: string) {
/**
* Wrapper for tracing a function
*/
// eslint-disable-next-line space-before-function-paren
export function traceFunction<T extends (...args: unknown[]) => unknown>(name: string, fn: T): T {
return function (this: unknown, ...args: Parameters<T>): ReturnType<T> {
const span = startSpan({ name })