@tommy-mitchell/dprint-config
v0.6.0
Published
Personal config for dprint.
Readme
dprint-config
Personal config for dprint.
Install
npm install --save-dev @tommy-mitchell/dprint-config dprintyarn add --dev @tommy-mitchell/dprint-config dprintAfter installing, add your desired dprint plugins:
dprint config add json
dprint config add markdown
dprint config add typescriptPeer Dependencies
- dprint - Pluggable and configurable code formatting platform written in Rust.
Usage
Add to the extends section of your dprint config:
"extends": ["node_modules/@tommy-mitchell/dprint-config/index.json"],VS Code
Add the following to your settings.json:
"[javascript][typescript][markdown][json][jsonc]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "dprint.dprint",
},Related
- Dprint Code Formatter - Formats code in VSCode using dprint.
