Skip to content

0.46.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 28 Jul 19:01
· 2 commits to main since this release

Prettier 3.3.3

Install

Dependencies:

  • Install dprint's CLI >= 0.40.0

In a dprint configuration file:

  1. Specify the plugin url and checksum in the "plugins" array or run dprint config add prettier:

    {
      // etc...
      "plugins": [
        // ...add other dprint plugins here that you want to take precedence over prettier...
        "https://plugins.dprint.dev/prettier-0.46.1.json@e5bd083088a8dfc6e5ce2d3c9bee81489b065bd5345ef55b59f5d96627928b7a"
      ]
    }
  2. Add a "prettier" configuration property if desired.

    {
      // ...etc...
      "prettier": {
        "trailingComma": "all",
        "singleQuote": true,
        "proseWrap": "always"
      }
    }