Skip to content

0.53.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Jan 07:26

Prettier 3.4.2

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.53.0.json@0d99b2a3836d0e3434826e678167524394b5e4a44b20af7278ba49c4508bd3d7"
      ]
    }
  2. Add a "prettier" configuration property if desired.

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