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