56
Files Analyzed
20
Issues Found
19
Files with Issues

Issues by Rule

tjd/accurate-jsdoc
20

Issues by File

lib/chain.js 1 issue
31:16 accurate-jsdoc

@param 'options': Object → { onceNext?: boolean; strictNext?: boolean; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/index.js 1 issue
73:23 accurate-jsdoc

@param 'options': Object → { name?: string; dtrace?: boolean; router?: Router; log?:.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/audit.js 1 issue
175:22 accurate-jsdoc

@param 'opts': Object → { log: any; event: string; context?: Function; server?: a.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/bodyParser.js 1 issue
125:21 accurate-jsdoc

@param 'options': Object → { maxBodySize?: number; mapParams?: boolean; mapFiles?: b.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/cpuUsageThrottle.js 1 issue
103:33 accurate-jsdoc

@param 'opts': Object → { limit?: number; max?: number; interval?: number; halfLi.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/inflightRequestThrottle.js 1 issue
38:34 accurate-jsdoc

@param 'opts': Object → { limit: number; err: Error; server: Function; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/metrics.js 1 issue
48:24 accurate-jsdoc

@param 'opts': Object → { server: Server; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/pre/reqIdHeaders.js 1 issue
20:29 accurate-jsdoc

@param 'opts': Object → { headers: string[]; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/pre/strictQueryParams.js 1 issue
29:28 accurate-jsdoc

@param 'options': Object → { message?: string; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/pre/userAgent.js 1 issue
30:30 accurate-jsdoc

@param 'options': Object → { userAgentRegExp?: RegExp; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/query.js 1 issue
46:22 accurate-jsdoc

@param 'options': Object → { mapParams?: any; overrideParams?: boolean; allowDots?: .... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/requestExpiry.js 1 issue
61:24 accurate-jsdoc

@param 'opts': Object → { absoluteHeader?: string; startHeader: string; timeoutHe.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/requestLogger.js 1 issue
42:24 accurate-jsdoc

@param 'options': Object → { headers?: any[]; properties?: any; serializers?: any; l.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/staticFiles.js 1 issue
62:38 accurate-jsdoc

@param 'opts': Object → { maxAge?: number; etag?: boolean; setHeaders?: Function; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/throttle.js 2 issues
134:21 accurate-jsdoc

@param 'options': Object → { size: number; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

245:19 accurate-jsdoc

@param 'options': Object → { burst: number; rate: number; ip?: boolean; username?: b.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/plugins/utils/hrTimeDurationInMs.js 1 issue
14:1 accurate-jsdoc

@returns: Number|null → number. JSDoc includes null/undefined but TypeScript infers the value is always present. Either the code guarantees a value, or add runtime checks.

lib/router.js 1 issue
38:17 accurate-jsdoc

@param 'options': Object → { log: Bunyan; onceNext?: boolean; strictNext?: boolean; .... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/routerRegistryRadix.js 1 issue
16:30 accurate-jsdoc

@param 'options': Object → { ignoreTrailingSlash?: any; }. JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

lib/server.js 1 issue
125:17 accurate-jsdoc

@param 'options': Object → { name: string; dtrace?: boolean; router: Router; log: an.... JSDoc uses generic "object" but TypeScript infers a specific shape. Consider using @typedef to document the object structure.

Analyzed: 2/3/2026