🌐
npm
npmjs.com › package › prettier-plugin-jsdoc
prettier-plugin-jsdoc - npm
{ "plugins": ["prettier-plugin-jsdoc"], "overrides": [ { "files": "*.tsx", "options": { "plugins": [] } } ] }
      » npm install prettier-plugin-jsdoc
    
Published   Dec 07, 2025
Version   1.8.0
Author   Hossein mohammadi
🌐
GitHub
github.com › hosseinmd › prettier-plugin-jsdoc
GitHub - hosseinmd/prettier-plugin-jsdoc: A Prettier plugin to format JSDoc comments.
{ "plugins": ["prettier-plugin-jsdoc"], "overrides": [ { "files": "*.tsx", "options": { "plugins": [] } } ] }
Starred by 265 users
Forked by 32 users
Languages   TypeScript 74.6% | JavaScript 25.0% | Shell 0.4%
🌐
GitHub
github.com › homer0 › prettier-plugin-jsdoc
GitHub - homer0/prettier-plugin-jsdoc: A Prettier plugin to format JSDoc blocks.
The entire plugin is (mostly) built around tiny functions inside a dependency injection container, so you could take the container and replace the function you want to modify. First, we have to enable the option jsdocPluginExtended, as it will prevent it from running from the original package, and create a JS file to work: ... import { get, override } from '@homer0/prettier-plugin-jsdoc/src/fns/app.js'; import { loadFns } from '@homer0/prettier-plugin-jsdoc/src/loader.js'; import { getPlugin } from '@homer0/prettier-plugin-jsdoc/src/fns/getPlugin.js'; loadFns(); export default get(getPlugin)();
Starred by 16 users
Forked by 3 users
Languages   JavaScript 99.9% | Shell 0.1%
🌐
CodeSandbox
codesandbox.io › examples › package › prettier-plugin-jsdoc
prettier-plugin-jsdoc examples - CodeSandbox
Use this online prettier-plugin-jsdoc playground to view and fork prettier-plugin-jsdoc example apps and templates on CodeSandbox.
🌐
Prettier
prettier.io › docs › plugins
Plugins · Prettier
In particular, it calls the printer’s print function and passes itself to it. Thus, the two print functions – the one from the core and the one from the plugin – call each other while descending down the AST recursively. Here’s a simplified example to give an idea of what a typical implementation of print looks like:
🌐
UNPKG
unpkg.com › browse › prettier-plugin-jsdoc@0.3.23 › README.md
prettier-plugin-jsdoc/README.md
.prettierrc ```json { "plugins": ["prettier-plugin-jsdoc"], }; ``` If you want ignore some type of files remove "prettier-plugin-jsdoc" from plugins or add empty plugins ```.prettierrc.js module.exports = { "plugins": ["prettier-plugin-jsdoc"] overrides: [ { files: '*.tsx', options: { "plugins": [] }, }, ], }; ``` ## Ignore To ignore prettier use `/* */` or `//` instead of /\*\* \*/ ## Examples #### Single line ```js /** * @param { string } param0 description */ function fun(param0) {} ``` Format to ```js /** @param {string} param0 Description */ function fun(param0) {} ``` #### React Componen
🌐
TypeScript Analyzer
rich-newman.github.io › typescript-analyzer-eslint-prettier › setupjsdoc.html
Set Up for JSDoc Plugin | TypeScript Analyzer (ESLint, Prettier)
To create the configuration file for JSDoc the following changes were made to the code in the default configuration file: In the first “plugins” section, which refers to JavaScript and TypeScript files, add "jsdoc".
🌐
npm
npmjs.com › package › @homer0 › prettier-plugin-jsdoc
@homer0/prettier-plugin-jsdoc - npm
The entire plugin is (mostly) built around tiny functions inside a dependency injection container, so you could take the container and replace the function you want to modify. First, we have to enable the option jsdocPluginExtended, as it will prevent it from running from the original package, and create a JS file to work: ... import { get, override } from '@homer0/prettier-plugin-jsdoc/src/fns/app.js'; import { loadFns } from '@homer0/prettier-plugin-jsdoc/src/loader.js'; import { getPlugin } from '@homer0/prettier-plugin-jsdoc/src/fns/getPlugin.js'; loadFns(); export default get(getPlugin)();
      » npm install @homer0/prettier-plugin-jsdoc
    
Published   Jan 27, 2026
Version   11.0.2
Author   Leonardo Apiwan
🌐
npm
npmjs.com › package › prettier-plugin-jsdoc-type
prettier-plugin-jsdoc-type - npm
This plugin supports some more JSDoc type definition syntax than prettier-plugin-jsdoc, such as @import and @returns {foo is Foo}. This plugin can also be combined with prettier-plugin-jsdoc.
      » npm install prettier-plugin-jsdoc-type
    
Published   Jan 22, 2026
Version   0.2.0
Author   Yosuke Ota
🌐
UNPKG
app.unpkg.com › prettier-plugin-jsdoc@1.3.3 › files › README.md
UNPKG
`.prettierrc`: ```json { "plugins": ["prettier-plugin-jsdoc"] } ``` `prettier.config.js`: ```js export default { plugins: ["prettier-plugin-jsdoc"], } ``` If you want to ignore some types of files, use `overrides` with an empty `plugins`: ```json { "plugins": ["prettier-plugin-jsdoc"], "overrides": [ { "files": "*.tsx", "options": { "plugins": [] } } ] } ``` ## Ignore To prevent Prettier from formatting, use `/* */` or `//` instead of /\*\* \*/, or see [Ignoring Code](https://prettier.io/docs/en/ignore#javascript). ## Examples #### Single line ```js /** * @param { string } param0 description *
Find elsewhere
🌐
GitHub
github.com › hosseinmd › prettier-plugin-jsdoc › blob › master › README.md
prettier-plugin-jsdoc/README.md at master · hosseinmd/prettier-plugin-jsdoc
{ "plugins": ["prettier-plugin-jsdoc"], "overrides": [ { "files": "*.tsx", "options": { "plugins": [] } } ] }
Author   hosseinmd
🌐
Medium
medium.com › @psiphi75 › using-typescript-typechecker-eslint-jsdoc-and-prettier-to-write-javascript-205a2f07a4f3
Writing JavaScript better and faster using TypeScript TypeChecker, ESLint, JSDoc and Prettier | by Simon Werner | Medium
April 2, 2019 - npm install --save-dev eslint npm install --save-dev eslint-config-airbnb-base npm install --save-dev eslint-plugin-import npm install --save-dev eslint-plugin-jsdoc npm install --save-dev eslint-plugin-prettier
🌐
GitHub
github.com › ota-meshi › prettier-plugin-jsdoc-type
GitHub - ota-meshi/prettier-plugin-jsdoc-type: Prettier plugin for formatting JSDoc type annotations. · GitHub
This plugin supports some more JSDoc type definition syntax than prettier-plugin-jsdoc, such as @import and @returns {foo is Foo}. This plugin can also be combined with prettier-plugin-jsdoc.
Author   ota-meshi
🌐
GitHub
github.com › prettier › prettier › issues › 5659
Add support for formatting JSDoc comments · Issue #5659 · prettier/prettier
December 19, 2018 - It would be nice if Prettier formatted JSDoc comments, interpreting the text of the comment as markdown and properly handling tags. There are two parsers we could use: comment-parser for the overall comment, and jsdoctypeparser for the t...
Published   Dec 19, 2018
🌐
Tessl
tessl.io › registry › tessl › npm-prettier-plugin-jsdoc › 1.3.0 › files › docs › index.md
1.3.0 • npm-prettier-plugin-jsdoc • tessl • Registry • Tessl
January 29, 2026 - JSDoc Parsing: Uses comment-parser to parse JSDoc syntax and structure · Formatting Engine: Applies formatting rules based on configuration options · Integration Layer: Seamlessly integrates with Prettier's formatting pipeline
🌐
GitHub
github.com › prettier › prettier › issues › 6057
JSDoc Plugin · Issue #6057 · prettier/prettier
September 29, 2018 - export const languages = [ { extensions: [".js"], name: "JSDoc", parsers: ["jsdoc-parse"], }, ]; export const parsers = { "jsdoc-parse": { parse, astFormat: "jsdoc-ast", }, }; export const printers = { "jsdoc-ast": { print, embed, }, }; However, none of my functions are getting invoked? It is not clear to me that I can add a plugin for js?
Published   Apr 14, 2019
🌐
Tessl
tessl.io › registry › tessl › npm-prettier-plugin-jsdoc › 1.3.0
tessl/npm-prettier-plugin-jsdoc@1.3.x - Registry - Tessl
JSDoc Parsing: Uses comment-parser to parse JSDoc syntax and structure · Formatting Engine: Applies formatting rules based on configuration options · Integration Layer: Seamlessly integrates with Prettier's formatting pipeline
🌐
Yarn
yarnpkg.com › package
prettier-plugin-jsdoc
Yarn is a package manager that doubles down as project manager. Whether you work on simple projects or industry monorepos, whether you're an open source developer or an enterprise user, Yarn has your back · First package manager built specifically around workspaces, Yarn lets you split your ...
🌐
Prettier
prettier.io › blog › 2023 › 07 › 05 › 3.0.0.html
Prettier 3.0: Hello, ECMAScript Modules! · Prettier
July 5, 2023 - A line break between Hangul and non-Hangul letters and digits is converted to a space when Prettier unwraps the text. Consider this example: ... In this sentence, if you break the line between “3” and “분”, a space will be inserted there when the text gets unwrapped. parse function in a plugin can return a Promise now.
🌐
Npm
npm.io › package › prettier-plugin-jsdoc
Prettier-plugin-jsdoc NPM | npm.io
cdk-oas-builder@liuxy0551/eslint-config-dtstack-basic@bumped-inc/eslint-config@fellwork/prettier-configprettier-config-watchful@everything-registry/sub-chunk-2470@clamjs/prettier-configiprotohorizen-api-augmenthorizen-augment-apihl_femama-exporter@ubermanu/prettier-config@u3u/prettier-config@tiny-codes/code-style-all-in-one@todomir/prettier-config@travpro/prettier-config-travpro@voltiso/config.prettier@yutengjing/prettier-config@zyphox/prettier-configags-tseslint-config-coderietyeumatquefirefox-crxjs-tmpcreate-purpletcreate-tailwind-type@infinitebrahmanuniverse/nolb-prettopenapi-to-effectprett