hosseinmd / prettier-plugin-jsdoc

A Prettier plugin to format JSDoc comments.
MIT License
228 stars 29 forks source link

value of `@default` is stripped #182

Closed dimaMachina closed 1 year ago

dimaMachina commented 1 year ago

input

  /**
   * The path to the config file or directory contains the config file.
   *
   * @default process.cwd()
   */

output

  /**
   * The path to the config file or directory contains the config file.
   *
   * @default process
   */
coeing commented 1 year ago

@B2o5T I use quotes around the default value as a workaround right now, but it is not optimal.

  /**
   * Alpha of the shadow
   *
   * @default "0.5"
   */
  alpha: number;
dimaMachina commented 1 year ago

I don’t use this plugin anymore, too buggy

coeing commented 1 year ago

@B2o5T Any suggestion for a replacement to auto-format JSDoc comments? Plus: Could you keep the issue open, it seems still be a valid report :)