Skip to content

0.57.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Mar 07:28

Prettier 3.5.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.57.0.json@1bc6b449e982d5b91a25a7c59894102d40c5748651a08a095fb3926e64d55a31"
      ]
    }
  2. Add a "prettier" configuration property if desired.

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