Repository navigation
build: migrate JSDoc linting off removed core rules - #10965
Merged
Merged
Conversation
Planeshifter
force-pushed
the
philipp/gh54-jsdoc-migration
branch
2 times, most recently
from
March 15, 2026 14:16
c22d878 to
e0e5a99
Compare
4 of 7 tasks
Planeshifter
force-pushed
the
philipp/gh54-jsdoc-migration
branch
from
March 15, 2026 15:33
e0e5a99 to
0201b91
Compare
Planeshifter
force-pushed
the
philipp/gh54-jsdoc-migration
branch
from
March 15, 2026 16:25
0201b91 to
b0f5533
Compare
Planeshifter
force-pushed
the
philipp/gh54-jsdoc-migration
branch
from
March 15, 2026 17:46
b0f5533 to
28cbc14
Compare
Closed
Member
|
@Planeshifter Sorry. I think I did it again where I deleted the "base" branch. You'll need to do what you did last time, as I was not able to restore the branch via the web UI. |
Planeshifter
force-pushed
the
philipp/gh54-jsdoc-migration
branch
from
August 16, 2026 06:06
28cbc14 to
0f4f56f
Compare
Replace deprecated ESLint core rules `require-jsdoc` and `valid-jsdoc` (removed in ESLint v9) with `eslint-plugin-jsdoc` equivalents: - `require-jsdoc` → `jsdoc/require-jsdoc` (same option schema) - `valid-jsdoc` → individual `jsdoc/*` rules: - `jsdoc/require-description` (replaces `matchDescription`) - `jsdoc/require-param-description` (replaces `requireParamDescription`) - `jsdoc/require-returns-type` (replaces `requireReturnType`) - `jsdoc/require-returns-description` (replaces `requireReturnDescription`) - `jsdoc/check-tag-names` (validates tag names) - Register `jsdoc` plugin in `etc/eslint/plugins/index.js` - Update override files that disable `require-jsdoc` for tests, benchmarks, examples, and markdown Ref: stdlib-js/metr-issue-tracker#54
Planeshifter
force-pushed
the
philipp/gh54-jsdoc-migration
branch
from
August 16, 2026 06:08
0f4f56f to
9f58156
Compare
Planeshifter
force-pushed
the
philipp/gh54-jsdoc-migration
branch
from
August 16, 2026 06:28
9f58156 to
2d39d88
Compare
Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
Planeshifter
force-pushed
the
philipp/gh54-jsdoc-migration
branch
from
August 16, 2026 06:31
2d39d88 to
c87a756
Compare
The Make source-lint configuration loads this override module for all JavaScript source files, not only REPL namespace files. Rename the module now that it also contains the ESLint rule-catalog doctest exclusion so its filename accurately reflects its responsibility. Signed-off-by: Philipp Burckhardt <pburckhardt@outlook.com>
This was referenced Oct 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Progresses stdlib-js/metr-issue-tracker#54.
Description
This pull request:
require-jsdocandvalid-jsdoc(both removed in ESLint v9) witheslint-plugin-jsdocequivalents.require-jsdoctojsdoc/require-jsdocwhile preserving the existing declaration requirements.valid-jsdocwith focusedjsdoc/*rules for descriptions, parameter coverage/names/types/descriptions, return coverage/types/descriptions, and canonical tag names.@classto@constructorpreference through sharedjsdocsettings.jsdocplugin inetc/eslint/plugins/index.js.Related Issues
This pull request has the following related issues:
Questions
No.
Other
PR #10952 has merged, and this branch is rebased directly onto
develop. The TypeScript migration remains isolated to the child PR #10966.The removed core rule treated any value-returning path as sufficient.
jsdoc/require-returns-checkinstead requires a value on every path and produces false positives for stdlib functions documented as(T|void), so it is intentionally not enabled.jsdoc/require-returnspreserves the missing-return-tag check without imposing that incompatible all-path behavior.The migrated rules were validated against the complete Make inventories for sources, tests, examples, and benchmarks.
Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was written with Claude Code and Codex assistance.
@stdlib-js/reviewers