577
Files Analyzed
57
Issues Found
30
Files with Issues

Issues by Rule

tjd/accurate-jsdoc
48
tjd/no-redundant-jsdoc
9

Issues by File

lib/APIPlugin.js 1 issue
39:1 accurate-jsdoc

@returns: Record<string, { expr: string, req: string[] | null, type... → Record<string, { expr: string; req: string[]; type?: stri.... JSDoc declares union but TypeScript infers generic.

lib/AbstractMethodError.js 1 issue
16:24 accurate-jsdoc

@param 'method': string= → string. JSDoc declares unknown but TypeScript infers primitive.

lib/ChunkTemplate.js 4 issues
67:16 accurate-jsdoc

@param 'fn': (source: Source, moduleTemplate: ModuleTemplate, renderCo... → (source: any, moduleTemplate: ModuleTemplate, renderConte.... Types differ. Run with --fix to update JSDoc, or verify the intended type.

89:16 accurate-jsdoc

@param 'fn': (source: Source, moduleTemplate: ModuleTemplate, renderCo... → (source: any, moduleTemplate: ModuleTemplate, renderConte.... Types differ. Run with --fix to update JSDoc, or verify the intended type.

111:16 accurate-jsdoc

@param 'fn': (source: Source, chunk: Chunk) => Source → (source: any, chunk: Chunk) => any. Types differ. Run with --fix to update JSDoc, or verify the intended type.

173:3 accurate-jsdoc

@returns: OutputOptions → OutputNormalizedWithDefaults. Types differ. Run with --fix to update JSDoc, or verify the intended type.

lib/Compilation.js 2 issues
425:2 accurate-jsdoc

@returns: NormalModuleCompilationHooks["loader"] → SyncHook<[AnyLoaderContext, NormalModule]>. JSDoc declares unknown but TypeScript infers generic.

1658:3 no-redundant-jsdoc

JSDoc comment is redundant - only contains type information that TypeScript infers

lib/DefinePlugin.js 2 issues
132:1 accurate-jsdoc

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

132:21 accurate-jsdoc

@param 'properties': DestructuringAssignmentProperties | undefined → DestructuringAssignmentProperties. JSDoc includes null/undefined but TypeScript infers the value is always present. Either the code guarantees a value, or add runtime checks.

lib/DotenvPlugin.js 3 issues
114:29 accurate-jsdoc

@param 'processEnv': Record<string, string | undefined> → Record<string, string>. JSDoc declares union but TypeScript infers generic.

181:1 accurate-jsdoc

@returns: { parsed: Env } → { parsed: Env; }. Types differ. Run with --fix to update JSDoc, or verify the intended type.

181:17 accurate-jsdoc

@param 'options': { parsed: Env, processEnv: Record<string, string | undefi... → { parsed: Env; processEnv: Record<string, string>; }. JSDoc declares union but TypeScript infers object.

lib/ExternalModuleFactoryPlugin.js 1 issue
56:40 accurate-jsdoc

@param 'cb': (err: Error | null | undefined, value: ExternalValue | un... → (err: Error, value: ExternalValue, ty: ExternalsType) => .... JSDoc declares union but TypeScript infers function.

lib/MainTemplate.js 5 issues
131:16 accurate-jsdoc

@param 'fn': (source: Source, chunk: Chunk, hash: string | undefined, ... → (source: any, chunk: Chunk, hash: string, moduleTemplate:.... JSDoc declares union but TypeScript infers function.

163:16 accurate-jsdoc

@param 'fn': (source: Source, chunk: Chunk, hash: string | undefined) ... → (source: any, chunk: Chunk, hash: string) => any. JSDoc declares union but TypeScript infers function.

189:16 accurate-jsdoc

@param 'fn': (value: string, path: PathData, assetInfo: AssetInfo | un... → (value: string, path: PathData, assetInfo: AssetInfo) => .... JSDoc declares union but TypeScript infers function.

303:11 accurate-jsdoc

@param 'length': number= → number. JSDoc declares unknown but TypeScript infers primitive.

363:3 accurate-jsdoc

@returns: OutputOptions → Output. Types differ. Run with --fix to update JSDoc, or verify the intended type.

lib/ModuleTemplate.js 4 issues
48:16 accurate-jsdoc

@param 'fn': (source: Source, module: Module, moduleRenderContext: Mod... → (source: any, module: Module, moduleRenderContext: Module.... Types differ. Run with --fix to update JSDoc, or verify the intended type.

73:16 accurate-jsdoc

@param 'fn': (source: Source, module: Module, moduleRenderContext: Mod... → (source: any, module: Module, moduleRenderContext: Module.... Types differ. Run with --fix to update JSDoc, or verify the intended type.

98:16 accurate-jsdoc

@param 'fn': (source: Source, module: Module, chunkRenderContext: Chun... → (source: any, module: Module, chunkRenderContext: ChunkRe.... Types differ. Run with --fix to update JSDoc, or verify the intended type.

123:16 accurate-jsdoc

@param 'fn': (source: Source, module: Module, chunkRenderContext: Chun... → (source: any, module: Module, chunkRenderContext: ChunkRe.... Types differ. Run with --fix to update JSDoc, or verify the intended type.

lib/RuntimeTemplate.js 2 issues
77:1 accurate-jsdoc

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

77:26 accurate-jsdoc

@param 'definition': string | undefined → string. JSDoc includes null/undefined but TypeScript infers the value is always present. Either the code guarantees a value, or add runtime checks.

lib/config/normalization.js 1 issue
38:19 accurate-jsdoc

@param 'emitOnErrors': boolean | undefined → boolean. JSDoc includes null/undefined but TypeScript infers the value is always present. Either the code guarantees a value, or add runtime checks.

lib/config/target.js 2 issues
93:2 no-redundant-jsdoc

JSDoc comment is redundant - only contains type information that TypeScript infers

95:2 no-redundant-jsdoc

JSDoc comment is redundant - only contains type information that TypeScript infers

lib/css/CssLoadingRuntimeModule.js 1 issue
98:3 no-redundant-jsdoc

JSDoc comment is redundant - only contains type information that TypeScript infers

lib/css/CssParser.js 1 issue
687:3 no-redundant-jsdoc

JSDoc comment is redundant - only contains type information that TypeScript infers

lib/dependencies/ImportPhase.js 1 issue
60:31 accurate-jsdoc

@param 'enableImportPhase': boolean= → boolean. JSDoc declares unknown but TypeScript infers primitive.

lib/esm/ModuleChunkFormatPlugin.js 2 issues
78:48 accurate-jsdoc

@param 'namedImport': string= → string. JSDoc declares unknown but TypeScript infers primitive.

78:61 accurate-jsdoc

@param 'runtimeChunk': Chunk= → Chunk. Types differ. Run with --fix to update JSDoc, or verify the intended type.

lib/index.js 1 issue
156:4 accurate-jsdoc

@returns: (configuration: Configuration | MultiConfiguration) => void → (configuration: WebpackOptions | MultiWebpackOptions) => .... Types differ. Run with --fix to update JSDoc, or verify the intended type.

lib/javascript/ChunkFormatHelpers.js 1 issue
23:1 accurate-jsdoc

@returns: { entries: [Module, Entrypoint | undefined][], runtimeChu... → { entries: [Module, Entrypoint][]; runtimeChunk: Chunk; }. JSDoc declares union but TypeScript infers object.

lib/javascript/JavascriptParser.js 1 issue
1797:6 no-redundant-jsdoc

JSDoc comment is redundant - only contains type information that TypeScript infers

lib/json/JsonGenerator.js 1 issue
108:3 no-redundant-jsdoc

JSDoc comment is redundant - only contains type information that TypeScript infers

lib/optimize/InnerGraph.js 1 issue
53:1 accurate-jsdoc

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

lib/runtime/MakeDeferredNamespaceObjectRuntime.js 1 issue
38:2 accurate-jsdoc

@param 'asyncDepsIds': (ModuleId | null)[] → ModuleId[]. JSDoc declares union but TypeScript infers array.

lib/schemes/HttpUriPlugin.js 4 issues
488:5 no-redundant-jsdoc

JSDoc comment is redundant - only contains type information that TypeScript infers

550:7 accurate-jsdoc

@param 'callback': (err: Error | null, lockfile?: Lockfile) => void → (err: Error, lockfile?: Lockfile) => void. JSDoc declares union but TypeScript infers function.

956:13 accurate-jsdoc

@param 'callback': (err: Error | null, result?: FetchResult) => void → (err: Error, result?: FetchResult) => void. JSDoc declares union but TypeScript infers function.

1013:13 accurate-jsdoc

@param 'callback': (err: Error | null, info?: Info) => void → (err: Error, info?: Info) => void. JSDoc declares union but TypeScript infers function.

lib/serialization/FileMiddleware.js 2 issues
477:17 accurate-jsdoc

@param 'reject': (reason?: Error | null) => void → (reason?: Error) => void. JSDoc declares union but TypeScript infers function.

580:22 accurate-jsdoc

@param 'reject': (reason?: Error | null) => void → (reason?: Error) => void. JSDoc declares union but TypeScript infers function.

lib/stats/DefaultStatsFactoryPlugin.js 1 issue
2759:10 accurate-jsdoc

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

lib/stats/DefaultStatsPresetPlugin.js 1 issue
349:5 accurate-jsdoc

@param 'filter': StatsOptions["warningsFilter"] → WarningFilterTypes. Types differ. Run with --fix to update JSDoc, or verify the intended type.

lib/util/URLAbsoluteSpecifier.js 2 issues
30:1 accurate-jsdoc

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

80:1 accurate-jsdoc

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

lib/util/extractSourceMap.js 4 issues
104:1 accurate-jsdoc

@returns: Promise<{ path: string, data?: string }> → Promise<{ path: string; data?: string; }>. Types differ. Run with --fix to update JSDoc, or verify the intended type.

147:1 accurate-jsdoc

@returns: Promise<{ sourceURL: string, sourceContent?: StringOrBuff... → Promise<{ sourceURL: string; sourceContent?: StringOrBuff.... Types differ. Run with --fix to update JSDoc, or verify the intended type.

151:2 accurate-jsdoc

@param 'sourceRoot': string= → string. JSDoc declares unknown but TypeScript infers primitive.

221:1 accurate-jsdoc

@returns: Promise<{ source: StringOrBuffer, sourceMap: string | Raw... → Promise<{ source: StringOrBuffer; sourceMap: any; }>. JSDoc declares union but TypeScript infers generic.

lib/util/numberHash.js 1 issue
12:1 no-redundant-jsdoc

JSDoc @type 'number' is redundant - TypeScript infers the same type

lib/util/traverseDestructuringAssignmentProperties.js 3 issues
21:2 accurate-jsdoc

@param 'onLeftNode': ((stack: DestructuringAssignmentProperty[]) => void) | un... → (stack: DestructuringAssignmentProperty[]) => void. JSDoc declares union but TypeScript infers function.

22:2 accurate-jsdoc

@param 'enterNode': ((stack: DestructuringAssignmentProperty[]) => void) | un... → (stack: DestructuringAssignmentProperty[]) => void. JSDoc declares union but TypeScript infers function.

23:2 accurate-jsdoc

@param 'exitNode': ((stack: DestructuringAssignmentProperty[]) => void) | un... → (stack: DestructuringAssignmentProperty[]) => void. JSDoc declares union but TypeScript infers function.

Analyzed: 2/3/2026