Skip to content

0.7.1

Compare
Choose a tag to compare
@github-actions github-actions released this 06 May 18:44
· 80 commits to main since this release

Install

In dprint configuration file:

  1. Specify the plugin url and checksum in the "plugins" array:

    {
      // etc...
      "plugins": [
        // ...add other dprint plugins here that you want to take precedence over prettier...
        "https://plugins.dprint.dev/prettier-0.7.1.json@f2bc73a24eca6cca9dfd109654f1a1b395c848880588a24d40c0db05ba280e3b"
      ]
    }
  2. Ensure the file extensions supported by prettier are matched in an "includes" pattern.

  3. Add a "prettier" configuration property if desired.

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