Install
In .dprintrc.json:
- Specify the plugin url in the
"plugins"
array:{ // etc... "plugins": [ "https://plugins.dprint.dev/typescript-0.32.2.wasm" ] }
- Ensure
.{ts,tsx,js,jsx,mjs}
file extensions are matched in an"includes"
pattern. - Add a
"typescript"
configuration property if desired.{ // ...etc... "typescript": { // TypeScript & JavaScript config goes here } }