-
-
Notifications
You must be signed in to change notification settings - Fork 194
Setup prettier-plugin-jsdoc for comment level styling.
#1650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request sets up the prettier-plugin-jsdoc package to enable Prettier formatting of JSDoc comments. The change adds the plugin to development dependencies and configures it to automatically format comment-level styling throughout the codebase.
Key changes:
- Added
prettier-plugin-jsdocplugin configuration to format JSDoc comments - Applied consistent JSDoc formatting across numerous TypeScript files
- Updated package dependencies to include the new plugin
Reviewed Changes
Copilot reviewed 129 out of 130 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| test/package.json | Added prettier-plugin-jsdoc to devDependencies |
| test/prettier.config.js | Added prettier-plugin-jsdoc to plugins array |
| Multiple test/src files | Applied consistent JSDoc formatting (single-line for simple comments, multi-line for complex ones) |
| Multiple src files | Applied consistent JSDoc formatting throughout source code |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
This pull request adds the
prettier-plugin-jsdocpackage as a development dependency, along with all of its required dependencies and type definitions. The changes update bothpackage.jsonandpnpm-lock.yamlto ensure the plugin and its ecosystem are correctly installed and resolved.Dependency additions and updates:
prettier-plugin-jsdoctodevDependenciesinpackage.json, enabling Prettier to format JSDoc comments.pnpm-lock.yamlto includeprettier-plugin-jsdocand all of its direct and transitive dependencies, such asbinary-searching,comment-parser,mdast-util-from-markdown,micromark, and related utility packages. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]Type definitions:
@types/debug,@types/mdast,@types/ms, and@types/unist. [1] [2] [3] [4] [5] [6]These changes ensure that JSDoc formatting is supported in the codebase and that all necessary dependencies are properly managed.