webpack
View on npm →Issues by Rule
tjd/accurate-jsdoc tjd/no-redundant-jsdoc Issues by File
lib/APIPlugin.js 1 issue@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@param 'method': string= → string. JSDoc declares unknown but TypeScript infers primitive.
lib/ChunkTemplate.js 4 issues@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.
@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.
@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.
@returns: OutputOptions → OutputNormalizedWithDefaults. Types differ. Run with --fix to update JSDoc, or verify the intended type.
lib/Compilation.js 2 issues@returns: NormalModuleCompilationHooks["loader"] → SyncHook<[AnyLoaderContext, NormalModule]>. JSDoc declares unknown but TypeScript infers generic.
JSDoc comment is redundant - only contains type information that TypeScript infers
lib/DefinePlugin.js 2 issues@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.
@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@param 'processEnv': Record<string, string | undefined> → Record<string, string>. JSDoc declares union but TypeScript infers generic.
@returns: { parsed: Env } → { parsed: Env; }. Types differ. Run with --fix to update JSDoc, or verify the intended type.
@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@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@param 'fn': (source: Source, chunk: Chunk, hash: string | undefined, ... → (source: any, chunk: Chunk, hash: string, moduleTemplate:.... JSDoc declares union but TypeScript infers function.
@param 'fn': (source: Source, chunk: Chunk, hash: string | undefined) ... → (source: any, chunk: Chunk, hash: string) => any. JSDoc declares union but TypeScript infers function.
@param 'fn': (value: string, path: PathData, assetInfo: AssetInfo | un... → (value: string, path: PathData, assetInfo: AssetInfo) => .... JSDoc declares union but TypeScript infers function.
@param 'length': number= → number. JSDoc declares unknown but TypeScript infers primitive.
@returns: OutputOptions → Output. Types differ. Run with --fix to update JSDoc, or verify the intended type.
lib/ModuleTemplate.js 4 issues@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.
@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.
@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.
@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@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.
@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@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 issuesJSDoc comment is redundant - only contains type information that TypeScript infers
JSDoc comment is redundant - only contains type information that TypeScript infers
lib/css/CssLoadingRuntimeModule.js 1 issueJSDoc comment is redundant - only contains type information that TypeScript infers
lib/css/CssParser.js 1 issueJSDoc comment is redundant - only contains type information that TypeScript infers
lib/dependencies/ImportPhase.js 1 issue@param 'enableImportPhase': boolean= → boolean. JSDoc declares unknown but TypeScript infers primitive.
lib/esm/ModuleChunkFormatPlugin.js 2 issues@param 'namedImport': string= → string. JSDoc declares unknown but TypeScript infers primitive.
@param 'runtimeChunk': Chunk= → Chunk. Types differ. Run with --fix to update JSDoc, or verify the intended type.
lib/index.js 1 issue@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@returns: { entries: [Module, Entrypoint | undefined][], runtimeChu... → { entries: [Module, Entrypoint][]; runtimeChunk: Chunk; }. JSDoc declares union but TypeScript infers object.
lib/javascript/JavascriptParser.js 1 issueJSDoc comment is redundant - only contains type information that TypeScript infers
lib/json/JsonGenerator.js 1 issueJSDoc comment is redundant - only contains type information that TypeScript infers
lib/optimize/InnerGraph.js 1 issue@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@param 'asyncDepsIds': (ModuleId | null)[] → ModuleId[]. JSDoc declares union but TypeScript infers array.
lib/schemes/HttpUriPlugin.js 4 issuesJSDoc comment is redundant - only contains type information that TypeScript infers
@param 'callback': (err: Error | null, lockfile?: Lockfile) => void → (err: Error, lockfile?: Lockfile) => void. JSDoc declares union but TypeScript infers function.
@param 'callback': (err: Error | null, result?: FetchResult) => void → (err: Error, result?: FetchResult) => void. JSDoc declares union but TypeScript infers function.
@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@param 'reject': (reason?: Error | null) => void → (reason?: Error) => void. JSDoc declares union but TypeScript infers function.
@param 'reject': (reason?: Error | null) => void → (reason?: Error) => void. JSDoc declares union but TypeScript infers function.
lib/stats/DefaultStatsFactoryPlugin.js 1 issue@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@param 'filter': StatsOptions["warningsFilter"] → WarningFilterTypes. Types differ. Run with --fix to update JSDoc, or verify the intended type.
lib/util/URLAbsoluteSpecifier.js 2 issues@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.
@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@returns: Promise<{ path: string, data?: string }> → Promise<{ path: string; data?: string; }>. Types differ. Run with --fix to update JSDoc, or verify the intended type.
@returns: Promise<{ sourceURL: string, sourceContent?: StringOrBuff... → Promise<{ sourceURL: string; sourceContent?: StringOrBuff.... Types differ. Run with --fix to update JSDoc, or verify the intended type.
@param 'sourceRoot': string= → string. JSDoc declares unknown but TypeScript infers primitive.
@returns: Promise<{ source: StringOrBuffer, sourceMap: string | Raw... → Promise<{ source: StringOrBuffer; sourceMap: any; }>. JSDoc declares union but TypeScript infers generic.
lib/util/numberHash.js 1 issueJSDoc @type 'number' is redundant - TypeScript infers the same type
lib/util/traverseDestructuringAssignmentProperties.js 3 issues@param 'onLeftNode': ((stack: DestructuringAssignmentProperty[]) => void) | un... → (stack: DestructuringAssignmentProperty[]) => void. JSDoc declares union but TypeScript infers function.
@param 'enterNode': ((stack: DestructuringAssignmentProperty[]) => void) | un... → (stack: DestructuringAssignmentProperty[]) => void. JSDoc declares union but TypeScript infers function.
@param 'exitNode': ((stack: DestructuringAssignmentProperty[]) => void) | un... → (stack: DestructuringAssignmentProperty[]) => void. JSDoc declares union but TypeScript infers function.
Analyzed: 2/3/2026