Skip to content

feat(lint): Enforce public API docs#633

Closed
dcramer wants to merge 2 commits into
mainfrom
dcramer/feat/public-api-doc-checks
Closed

feat(lint): Enforce public API docs#633
dcramer wants to merge 2 commits into
mainfrom
dcramer/feat/public-api-doc-checks

Conversation

@dcramer

@dcramer dcramer commented Jun 24, 2026

Copy link
Copy Markdown
Member

Add a consolidated custom checks runner to the root lint path and use it to enforce the public API JSDoc policy for new exported interfaces, types, functions, classes, and enums.

Existing undocumented public API declarations are baselined so this starts as a regression gate instead of a large comment-only migration. Future custom checks can plug into the same runner instead of adding more top-level one-off scripts.

Refs GH-622

Add a consolidated custom checks runner to the root lint path and use it to enforce JSDoc on new public API declarations. Baseline existing public API docs debt so lint prevents regressions without requiring a large comment-only migration first.

Refs GH-622
Co-Authored-By: GPT-5 Codex <codex@openai.com>
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview, Comment Jun 24, 2026 5:55pm

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e1cdcc5. Configure here.

Comment thread scripts/lib/checks/public-api-docs.mjs
Cover root declaration-file entrypoints when resolving package exports for public API documentation checks. Keep existing undocumented declaration aliases in the baseline so the check gates new debt.

Refs GH-622
Co-Authored-By: GPT-5 Codex <codex@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant