Prettier 3.5.2
Install
Dependencies:
- Install dprint's CLI >= 0.40.0
In a dprint configuration file:
-
Specify the plugin url and checksum in the
"plugins"
array or rundprint config add prettier
:{ // etc... "plugins": [ // ...add other dprint plugins here that you want to take precedence over prettier... "https://plugins.dprint.dev/prettier-0.56.0.json@0b67676535141b03f0eb0648172d3a20f13044b3d8df677d645bd79e3ee5147f" ] }
-
Add a
"prettier"
configuration property if desired.{ // ...etc... "prettier": { "trailingComma": "all", "singleQuote": true, "proseWrap": "always" } }