Skip to content

Conform doc comments to TSDoc spec (experiment) - #50736

Closed
Jake Bailey (jakebailey) wants to merge 2 commits into
microsoft:mainfrom
jakebailey:tsdoc
Closed

Jake Bailey (jakebailey) wants to merge 2 commits into
microsoft:mainfrom
jakebailey:tsdoc

Conversation

@jakebailey

Copy link
Copy Markdown
Member

This is just an experiment to see what it'd be like to conform to the TSDoc spec. The main change is the requirement of a dash after the parameter name, which the plugin complains about (however, their parser is lenient and doesn't need it; I wish the lint didn't complain, see microsoft/tsdoc#220).

Their ESLint plugin is thankfully not too slow to add:

tsdoc/syntax                                     |   267.625 |     1.8%

The generated TS lib files would also need to be updated, but we don't lint those as they come from the DOM generator.

@typescript-bot

Copy link
Copy Markdown
Contributor

Thanks for the PR! It looks like you've changed the TSServer protocol in some way. Please ensure that any changes here don't break consumers of the current TSServer API. For some extra review, we'll ping Sheetal Nandi (@sheetalkamat), Andrew Casey (@amcasey), Matt Bierner (@mjbvz), Mine Starks (@minestarks) for you. Feel free to loop in other consumers/maintainers if necessary

@typescript-bot TypeScript Bot (typescript-bot) added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Sep 12, 2022
@jakebailey

Copy link
Copy Markdown
Member Author

Thanks bot for pinging everyone... 😠

@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants