Skip to content

Releases: dprint/dprint-plugin-prettier

0.2.2

05 Mar 01:03
Compare
Choose a tag to compare

Install

In dprint.json:

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

    {
      // etc...
      "plugins": [
        "https://plugins.dprint.dev/prettier-0.2.2.exe-plugin@63b06beba3acd51e6d23379c47db342a1a24f3d88f3c52a775e2db3426124582"
      ]
    }
  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"
      }
    }

0.2.1

27 Feb 17:17
Compare
Choose a tag to compare

Install

In .dprintrc.json:

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

    {
      // etc...
      "plugins": [
        "https://plugins.dprint.dev/prettier-0.2.1.exe-plugin@c051918d0c4cf082b5ccdf92e89af3dcb2859e18f75073ba16dda6366e493a03"
      ]
    }
  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"
      }
    }

0.2.0

23 Nov 01:22
Compare
Choose a tag to compare

Install

Requires dprint >= 0.10.0.

In .dprintrc.json:

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

    {
      // etc...
      "plugins": [
        "https://plugins.dprint.dev/prettier-0.2.0.exe-plugin@5fc84274198107b5464477803eea335ab3c978738ff40058294b105d2e32d5ae"
      ]
    }
  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"
      }
    }

0.1.0

09 Aug 03:32
Compare
Choose a tag to compare

Install

In .dprintrc.json:

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

    {
      // etc...
      "plugins": [
        "https://plugins.dprint.dev/prettier-0.1.0.exe-plugin@1c335dffb7e75f6268f0c8c0bc2a61a60548b3896d9deb498cecb76939ae8262"
      ]
    }
  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"
      }
    }