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.52.json@f60117bd1dfb09e4ed5818a2d146526e86640af8b4de3a44a3446520dea0f36e" ] }
-
Add a
"prettier"
configuration property if desired.{ // ...etc... "prettier": { "trailingComma": "all", "singleQuote": true, "proseWrap": "always" } }