unstale

npm / eslint-plugin-jsdoc

eslint-plugin-jsdoc

What changed in eslint-plugin-jsdoc 23 to 65, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

54 breaking62 new APIs and options3 performance11 behavior and defaults2 tooling120 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

eslint-plugin-jsdoc 6574 changes

Breaking changes 7

  • These configs now have their own names.

    65.5.0release notes

  • Only @typedef itself is exempt; other name-defining tags are no longer exempt.

    65.3.15release notes

  • The require-jsdoc and convert-to-jsdoc-comments rules throw a clear error when a comment is included in the contexts setting.

    65.3.14release notes

  • With publicOnly, the rule now checks members of anonymous default exports and exported object literals.

    65.3.5release notes

  • The rule no longer fixes comments that contain the closing delimiter.

    65.2.3release notes

  • Disallows extra properties in rule options.

    65.0.1release notes

  • Forbids a missing space between the asterisk prefix and content; set allowNoSpaceAfterAsterisk: true to restore the old behavior.

    65.0.0release notes

New APIs and options 14

Performance 2

  • Skips collecting defined types for blocks with no types, improving performance.

    65.4.6release notes

  • The no-undefined-types and require-returns-check rules parse a file's JSDoc blocks only once, improving performance.

    65.3.4release notes

Behavior and default changes 1

  • Matching @prop descriptions are moved onto properties.

    65.4.0release notes

Fixes and other changes 50

  • Reordering tags that start on the opening line now keeps the JSDoc block valid.

    65.5.0release notes

  • The config name type now includes the flat/all configs.

    65.5.0release notes

  • The helper no longer changes the shared config.

    65.5.0release notes

  • Removing a type that spans lines now preserves the name and description.

    65.5.0release notes

  • Names exported before their declaration are now treated as exported when publicOnly is enabled.

    65.5.0release notes

  • Now reports a throw in a try block that has only a finally.

    65.5.0release notes

  • Now reports a throw in a function called where it is defined.

    65.5.0release notes

  • A fixer removing a tag on its line now preserves the closing delimiter.

    65.5.0release notes

  • When a type fixer moves the name up to the tag line, it now preserves the description.

    65.5.0release notes

  • No longer asks developers to document computed keys of destructured parameters.

    65.4.12release notes

  • Adds the period to the description’s own line when checking for a complete sentence.

    65.4.12release notes

  • No longer asks developers to document computed keys of destructured parameters.

    65.4.12release notes

  • Names the destructured parameter in messages about its root.

    65.4.12release notes

  • Lets "always" settle on the final tag with the default endLines.

    65.4.12release notes

  • Fixes adding missing tags after a line that also holds the closing delimiter.

    65.4.11release notes

  • Fixes adding missing tags after the opening line when the first tag is on that line.

    65.4.10release notes

  • Separates leading slashes from generated stars when converting to JSDoc comments.

    65.4.9release notes

  • The sort-tags rule no longer breaks the block when the first tag is on the opening line.

    65.4.8release notes

  • Accepts a non-ASCII uppercase letter at the start of a description by default.

    65.4.7release notes

  • The rule adds missing @param tags only once per fix, avoiding duplicate additions.

    65.4.3release notes

  • The rule no longer turns optional or readonly function properties into method signatures.

    65.4.2release notes

  • The rule preserves ? when converting between function properties and method signatures.

    65.4.2release notes

  • No longer throws on call signatures inside object fields, parameters, or return types, and keeps the type when fixing.

    65.4.1release notes

  • The plugin now handles typed computed properties.

    65.3.16release notes

  • Only @typedef names are used as aliases for import() types.

    65.3.15release notes

  • The check-param-names, require-jsdoc, and convert-to-jsdoc-comments rules no longer throw on contexts entries they cannot handle.

    65.3.14release notes

  • Widen literal types on let and var declarations when checking for unnecessary type assertions.

    65.3.13release notes

  • The rule treats type parameters of function types as defined anywhere within the function type.

    65.3.12release notes

  • The rule no longer exits early when TypeScript is found.

    65.3.11release notes

  • Supports string any contexts and contexts without comment.

    65.3.10release notes

  • Supports string any contexts and contexts without comment.

    65.3.10release notes

  • Counts template names used as indexed-access indexes, so the rule recognizes those uses.

    65.3.9release notes

  • Counts template names used in other templates' constraints and defaults, so the rule recognizes those uses.

    65.3.9release notes

  • The rule no longer re-escapes existing import names and uses a valid identifier for default imports.

    65.3.8release notes

  • The check-template-names, no-undefined-types, and require-template rules allow spaces around the = of a @template default.

    65.3.7release notes

  • The rule now keeps a hashbang on the first line when adding @import.

    65.3.6release notes

  • Only treats @public, @private, and @protected as redundant on class members with typed.

    65.3.3release notes

  • The rule no longer strips @default from getters and setters.

    65.3.2release notes

  • The rule now predefines global types from TypeScript's standard library, avoiding reports that those types are undefined.

    65.3.1release notes

  • Keeps description text when maxBlockLines removes excess blank lines.

    65.2.6release notes

  • Added lines use CRLF when the source uses CRLF.

    65.2.5release notes

  • Uses CRLF for added lines when the source uses CRLF.

    65.2.4release notes

  • Recognizes export import aliases declared in a same-file namespace.

    65.2.2release notes

  • Recognizes enums, enum members, and values declared in a same-file namespace.

    65.2.2release notes

  • When reordering params, the fixer moves the closing delimiter to its own line.

    65.2.1release notes

  • Lines added by fixers use CRLF when the source uses CRLF.

    65.2.1release notes

  • New tags are added after the last line of the previous tag, and one-line blocks remain valid.

    65.2.1release notes

  • Avoids resetting section indentation when inline tags are present.

    65.1.0release notes

  • Handles optional types on all tags and across several lines.

    65.1.0release notes

  • Reports opening-line indentation on that line.

    65.0.2release notes

eslint-plugin-jsdoc 6434 changes

Breaking changes 2

New APIs and options 3

  • Adds a rule mirroring typescript-eslint's ban-ts-comments rule.

    64.5.0release notes

  • Adds the preferConstToLiteralTuples option to the rule.

    64.3.5release notes

  • Adds a rule for checking @type assertions.

    64.3.0release notes

Performance 1

  • Only tries TypeScript when the rule is enabled, avoiding unnecessary TypeScript checks.

    64.5.4release notes

Behavior and default changes 2

  • Adds LibreJS tag support to the rule.

    64.4.0release notes

  • The rule now provides an order fixer and suggestions, helping developers correct parameter-name ordering issues.

    64.2.0release notes

Fixes and other changes 26

  • [@link] targets now check properties within export class declarations.

    64.5.3release notes

  • The optional TypeScript peer dependency is set to any, undoing a breaking change.

    64.5.2release notes

  • TypeScript is specified as an optional peer dependency, so it is not required for users who do not need it.

    64.5.1release notes

  • The rule merges stacked line comments into a single JSDoc block.

    64.3.10release notes

  • Recognizes class members from the class's own JSDoc when checking for undefined types.

    64.3.9release notes

  • Keys positions by file to avoid positions being shared across files.

    64.3.8release notes

  • Drops suggestions.

    64.3.8release notes

  • Recognizes sibling class members from a property's JSDoc.

    64.3.7release notes

  • Avoids treating object annotations that clarify method argument types as redundant.

    64.3.6release notes

  • Handles array literal annotations with literal or union-of-literals element types that narrow the element type.

    64.3.6release notes

  • The rule no longer flags array-to-tuple assertions.

    64.3.5release notes

  • Avoids crashing when the rule encounters custom languages.

    64.3.4release notes

  • Handles the "any" context and avoids adding an extra line break when multiline text is already present.

    64.3.3release notes

  • Strips initial line breaks when text is present, whether or not it includes tags.

    64.3.3release notes

  • The rule's fixer now handles redundant const.

    64.3.2release notes

  • The rule now handles generics.

    64.3.2release notes

  • The rule now handles parenthesized expressions.

    64.3.2release notes

  • The rule now skips interpolated template literals.

    64.3.2release notes

  • The rule now skips mismatched nested casts.

    64.3.2release notes

  • The rule now provides an autofixer for unnecessary type assertions.

    64.3.2release notes

  • The rule now allows unknown casts.

    64.3.2release notes

  • The rule better supports assertions involving arrays and objects.

    64.3.2release notes

  • The rule no longer flags assertions on any.

    64.3.2release notes

  • The rule no longer flags placeholder unions.

    64.3.2release notes

  • Avoids multiple warnings when typescript-eslint is not referenced.

    64.3.1release notes

  • Resumes support for CommonJS via require(esm).

    64.0.1release notes

eslint-plugin-jsdoc 6321 changes

Breaking changes 2

New APIs and options 2

Fixes and other changes 17

  • Missing tsdoc configs were added.

    63.3.3release notes

  • The fixer now supports 1-line JSDoc blocks.

    63.3.2release notes

  • The rule minimally escapes link targets instead of applying encodeURI.

    63.3.1release notes

  • Autofix now handles delimiter-colliding labels via an escape round-trip.

    63.3.0release notes

  • The rule now ignores Markdown code spans.

    63.0.14release notes

  • Fixes CJS builds, improving use of the package in CommonJS environments.

    63.0.12release notes

  • Skips overloads when searching for method comment blocks, fixing comment detection.

    63.0.11release notes

  • Allows scoped packages in declaration references.

    63.0.10release notes

  • The check-template-names, require-template, and valid-types rules keep commas inside @template default values.

    63.0.9release notes

  • Detects template usage in @augments, @extends, and @implements types.

    63.0.8release notes

  • Predefines Iterable and Iterator types so no-undefined-types no longer treats them as undefined.

    63.0.7release notes

  • Frees comments after each file, preventing them from being retained across files.

    63.0.6release notes

  • The rule now checks descendant scopes for variables, fixing incorrect undefined-type reports.

    63.0.5release notes

  • The tsModule check can now catch multiple modules.

    63.0.4release notes

  • The rule now treats TypeScript module variables as defined.

    63.0.3release notes

  • Typedef returns that may be void are now allowed.

    63.0.2release notes

  • Preserves start and ending delimiters to avoid errors with single-line tags.

    63.0.1release notes

eslint-plugin-jsdoc 6222 changes

Breaking changes 2

  • The rule now errors if a user blocks @property.

    62.7.1release notes

  • Node.js ^20.19.0, ^22.13.0, or >=24 is now required.

    62.0.0release notes

New APIs and options 5

  • Adds a recommended TSDoc ruleset for configuring eslint-plugin-jsdoc.

    62.8.0release notes

  • Adds the startLinesWithNoTags option to tag-lines.

    62.6.0release notes

  • Adds the boolean option trailingPunctuationMultilineOnly to support trailing punctuation only on multiline types.

    62.4.0release notes

  • Adds the objectTypeBracketSpacing option to control bracket spacing for object types.

    62.3.0release notes

  • The jsdoccomment setting is now available to control comment finding for invoked expressions.

    62.0.0release notes

Behavior and default changes 4

  • The rule now allows Typedoc include and includeCode, TSDoc inheritDoc and inheritdoc, and label as inline tags, and adds TSDoc and Typedoc tags.

    62.5.0release notes

  • Inline inheritDoc, inheritdoc, include, includeCode, and label tags no longer trigger the rule.

    62.5.0release notes

  • The rule now allows Typedoc include and includeCode, and TSDoc inheritDoc, inheritdoc, and label as inline tags.

    62.5.0release notes

  • The rule supports strict validation for TypeScript namespaces.

    62.2.0release notes

Tooling 1

  • eslint-plugin-jsdoc supports ESLint 10, allowing developers to use the plugin with that ESLint version.

    62.7.0release notes

Fixes and other changes 10

  • The valid-types rule now allows required default names.

    62.8.1release notes

  • The rule now only fires on TSPropertySignature when it is with TSFunctionNode.

    62.6.1release notes

  • The rule now checks arrow function properties in interfaces (TSPropertySignature).

    62.5.5release notes

  • The rule now ensures template tags are defined.

    62.5.4release notes

  • The rule no longer treats infer type identifiers as undefined.

    62.5.4release notes

  • The config no longer applies deprecated rules, avoiding ESLint warnings.

    62.5.3release notes

  • The config no longer applies deprecated rules, avoiding ESLint warnings.

    62.5.3release notes

  • The valid-types rule allows numeric properties in jsdoc mode.

    62.5.2release notes

  • Stops treating type parameter names as unknown template names.

    62.5.1release notes

  • Treats infer statement types as defined.

    62.0.1release notes

eslint-plugin-jsdoc 6127 changes

Breaking changes 2

  • The rule no longer treats a synchronous throw as a rejection.

    61.4.1release notes

  • Changes the stringQuotes default to double; set it to single to restore the old behavior.

    61.0.0release notes

New APIs and options 11

  • Adds checkAllFunctionExpressions to require-jsdoc, forcing checks of FunctionExpressions regardless of context.

    61.6.0release notes

  • Adds the require-rejects rule.

    61.4.0release notes

  • Adds the allowIndentedSections option.

    61.3.0release notes

  • Adds tagExceptions to allow additional lines per tag.

    61.2.0release notes

  • Adds type-formatting options for spacing around functions and classes and for method quotes.

    61.0.0release notes

  • Adds an option to configure spacing for tuples and generics.

    61.0.0release notes

  • Adds an option to configure spacing after colons in key-value pairs and object fields.

    61.0.0release notes

  • Adds an option to configure spacing after keys in key-value pairs and object fields.

    61.0.0release notes

  • Adds an option to configure spacing after optional markers in key-value pairs and object fields.

    61.0.0release notes

  • Adds an option to configure spacing after variadic markers in key-value pairs and object fields.

    61.0.0release notes

  • Adds an option to configure spacing for type parameters.

    61.0.0release notes

Behavior and default changes 1

  • The check-tag-names, require-template, and check-template-names rules treat typeParam as a non-preferred alias for template.

    61.5.0release notes

Fixes and other changes 13

  • Allows separate typedefs when checking property names.

    61.6.1release notes

  • The rule’s error message now reflects the proper tag name.

    61.4.2release notes

  • When interfaceExemptsParamsCheck is true, structures with interfaces no longer trigger require-param.

    61.2.1release notes

  • The rule no longer reformats spacing after a delimiter.

    61.2.1release notes

  • The rule now treats parameter names as defined, avoiding false reports for parameter types.

    61.1.12release notes

  • Fixing a missing parent now places it between the child and grandparent.

    61.1.11release notes

  • The rule now checks object-based types or typings when identifying imports as dependencies.

    61.1.10release notes

  • A CJS version is now provided, fixing the reported issue for CommonJS users.

    61.1.9release notes

  • The rule now considers module-scope variables as defined.

    61.1.8release notes

  • The rule now handles resolve.exports errors.

    61.1.7release notes

  • The rule now checks within exports for types.

    61.1.6release notes

  • Made to-valid-identifier a dependency so it is available where the plugin requires it.

    61.1.4release notes

  • Ensures the import is a valid identifier, fixing the rule’s handling of invalid identifiers.

    61.1.3release notes

eslint-plugin-jsdoc 601 changes

Breaking changes 1

  • The rule name changes from required-tags to require-tags to be consistent with other rules; update rule configuration accordingly.

    60.0.0release notes

eslint-plugin-jsdoc 595 changes

Breaking changes 1

  • Removes the exemptedBy option from require-yields-check; it should not be needed.

    59.0.0release notes

New APIs and options 3

Fixes and other changes 1

eslint-plugin-jsdoc 584 changes

Breaking changes 1

  • Adds a rule for rejecting function types; the new rule is included in recommended configs.

    58.0.0release notes

New APIs and options 2

  • Adds the preferTypes option to extraRuleDefinitions.

    58.0.0release notes

  • Adds a rule for rejecting any types; the new rule is included in recommended configs.

    58.0.0release notes

Fixes and other changes 1

  • Fixes Markdown escaping for tags in TypeScript descriptions.

    58.0.0release notes

eslint-plugin-jsdoc 576 changes

Breaking changes 4

  • Adds a rule requiring types for throws tags and includes it in recommended and required configs.

    57.0.0release notes

  • Adds a rule requiring types for yields tags and includes it in recommended and required configs.

    57.0.0release notes

  • Removes throws from structuredTags output in favor of the new recommended rule requiring types for the tag.

    57.0.0release notes

  • Removes yields from structuredTags output in favor of the new recommended rule requiring types for the tag.

    57.0.0release notes

New APIs and options 2

  • Adds the extraRuleDefinitions.forbid option to the jsdoc function.

    57.0.0release notes

  • Adds a rule requiring types for next tags and includes it in recommended and required configs.

    57.0.0release notes

eslint-plugin-jsdoc 561 changes

New APIs and options 1

  • CJS exports were added, and export paths changed; the notes say this should work without requiring changes.

    56.0.0release notes

eslint-plugin-jsdoc 551 changes

New APIs and options 1

  • A named jsdoc function is exported to build configurations, for example with jsdoc({config: 'flat/recommended'}).

    55.0.0release notes

eslint-plugin-jsdoc 531 changes

Breaking changes 1

  • The package exports changed as part of the move to tsdown to provide proper types.

    53.0.0release notes

eslint-plugin-jsdoc 521 changes

Breaking changes 1

  • Regular expressions use the v flag instead of the u flag by default; the v flag also matches emojis for sentence termination.

    52.0.0release notes

eslint-plugin-jsdoc 511 changes

Breaking changes 1

  • Node.js 20.11.0 or later is now required to use eslint-plugin-jsdoc.

    51.0.0release notes

eslint-plugin-jsdoc 501 changes

Breaking changes 1

  • Removed from the recommended configuration; selectively enable the rule for it to apply.

    50.0.0release notes

eslint-plugin-jsdoc 491 changes

Breaking changes 1

  • Adds the lines-before-block rule and includes it in the recommended configuration.

    49.0.0release notes

eslint-plugin-jsdoc 483 changes

Breaking changes 2

  • The package switches to native ESM, changing how developers import and use it.

    48.0.0release notes

  • Node 18 is required to use this release.

    48.0.0release notes

New APIs and options 1

  • The package adds exports, defining its supported entry points.

    48.0.0release notes

eslint-plugin-jsdoc 471 changes

Tooling 1

  • TypeScript types are exposed for the index file.

    47.0.0release notes

eslint-plugin-jsdoc 461 changes

Breaking changes 1

  • The no-defaults rule is on by default and removes default values; disable the rule if you want to retain them.

    46.0.0release notes

eslint-plugin-jsdoc 452 changes

New APIs and options 1

  • Recommended TypeScript-flavor configurations were added for users to choose.

    45.0.0release notes

Behavior and default changes 1

  • TypeScript configurations now disable this rule because TypeScript itself checks for undefined types.

    45.0.0release notes

eslint-plugin-jsdoc 391 changes

Breaking changes 1

eslint-plugin-jsdoc 382 changes

Breaking changes 1

  • Regular expressions now need to account for trailing whitespace; the default allows trailing whitespace but checks for it.

    38.0.0release notes

New APIs and options 1

eslint-plugin-jsdoc 372 changes

Breaking changes 2

  • The plugin supports ESLint 8.x and requires ESLint ^7.0.0 or ^8.0.0.

    37.0.0release notes

  • This rule must be disabled for this release; the notes say it may be restored later.

    37.0.0release notes

eslint-plugin-jsdoc 361 changes

Breaking changes 1

  • Node.js ^12.20, ^14.13, or 16+ is now required for exports pattern support.

    36.0.0release notes

eslint-plugin-jsdoc 351 changes

Breaking changes 1

  • The rule is enabled by default, so noZeroLineText and noFinalLineText apply by default.

    35.0.0release notes

eslint-plugin-jsdoc 341 changes

Breaking changes 1

eslint-plugin-jsdoc 331 changes

Breaking changes 1

  • The getJSDocComment file functionality now uses the external @es-joy/jsdoccomment package; requiring the file may break.

    33.0.0release notes

eslint-plugin-jsdoc 311 changes

Fixes and other changes 1

  • Fixers now preserve original whitespace unless the rule is meant to fix it.

    31.0.0release notes

eslint-plugin-jsdoc 305 changes

Breaking changes 4

  • Drops this setting; use structuredTags to configure namepath checking instead.

    30.0.0release notes

  • Changes the default of allowEmptyNamepaths to false, so tags that expect names according to the docs are reported when names are empty.

    30.0.0release notes

  • Reports simultaneous invalid name and type errors.

    30.0.0release notes

  • Requires names for event and external, and for extends in jsdoc mode; other tags were adjusted according to the docs.

    30.0.0release notes

New APIs and options 1

  • Adds a setting to control validation and requirements for type and namepath portions, and to add user-defined namepath-defining tags to defined types.

    30.0.0release notes

eslint-plugin-jsdoc 294 changes

Breaking changes 2

  • JSDuck support is removed, including unions that use / instead of |.

    29.0.0release notes

  • Spaces are now added between union items.

    29.0.0release notes

New APIs and options 2

  • TypeScript mode now supports intersections such as X & Y.

    29.0.0release notes

  • TypeScript mode now supports readonly.

    29.0.0release notes

eslint-plugin-jsdoc 284 changes

Breaking changes 2

New APIs and options 1

Behavior and default changes 1

  • check-types, no-undefined-types, and valid-types use mode-aware type parsing.

    28.0.0release notes

eslint-plugin-jsdoc 272 changes

Breaking changes 1

  • Replace the checkProperties option with a tags configuration for property descriptions.

    27.0.0release notes

New APIs and options 1

  • Adds a tags option to set which tags follow hyphen-description rules, allowing property behavior to differ from param behavior.

    27.0.0release notes

eslint-plugin-jsdoc 261 changes

New APIs and options 1

  • Adds an option to control whether capitalization after newlines is assumed to indicate a bad sentence end; its new default is false.

    26.0.0release notes

eslint-plugin-jsdoc 2512 changes

Breaking changes 1

  • Checks and fixes destructured objects and arrays, including the root, and prevents adding ...any for rest properties.

    25.0.0release notes

New APIs and options 9

Behavior and default changes 1

  • Checks destructured objects and arrays, including the root, and handles renamed parameters, defaults, rest elements and properties, and type annotations.

    25.0.0release notes

Fixes and other changes 1

  • Allows checking @arg JSDoc parameter names when preferred.

    25.0.0release notes

eslint-plugin-jsdoc 242 changes

Breaking changes 2

  • The require-example rule option is replaced by checkConstructors.

    24.0.0release notes

  • Adds a global option for checking constructors, getters or setters, replacing avoidExampleOnConstructors for the require-example rule.

    24.0.0release notes

eslint-plugin-jsdoc 234 changes

Breaking changes 4

  • A defined exemptedBy array overrides the inheritdoc exemption; add inheritdoc to the array to retain that exemption.

    23.0.0release notes

  • A defined exemptedBy array overrides the inheritdoc exemption; add inheritdoc to the array to retain that exemption.

    23.0.0release notes

  • A defined exemptedBy array overrides the inheritdoc exemption; add inheritdoc to the array to retain that exemption.

    23.0.0release notes

  • A defined exemptedBy array overrides the inheritdoc exemption; add inheritdoc to the array to retain that exemption.

    23.0.0release notes