JSPM

  • Created
  • Published
  • Downloads 133752
  • Score
    100M100P100Q166159F
  • License ISC

Package Exports

  • prettier-plugin-jsdoc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (prettier-plugin-jsdoc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

jsdoc-parser

Prettier plugin jsdoc

    Prettier plugin for convert ugly jsdoc to pretty and standard

Installation

    1. Install and configure Prettier as usual
    2. Run `$ yarn add prettier-plugin-jsdoc`
    3. Set "parser" value in Prettier options to "jsdoc-parser"

Options

    KEY                                 TYPE     DEFAULT

    jsdocSpaces                         Number   1
    jsdocDescriptionWithDot             Boolean  false
    jsdocDescriptionTag                 Boolean  false
    jsdocVerticalAlignment              Boolean  false
    jsdocKeepUnparseableExampleIndent   Boolean  true

    Full up to date list and description of options can be found
    in Prettier help.  First install plugin then run Prettier with
    "--help" option.

    $ prettier --help                      # global installation
    $ ./node_modules/.bin/prettier --help  # local installation
    Prettier : https://prettier.io
    JSDoc    : https://jsdoc.app