0.5.0 • Published 5 months ago

@tommy-mitchell/dprint-config v0.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

dprint-config

Personal config for dprint.

Install

npm install --save-dev @tommy-mitchell/dprint-config dprint
yarn add --dev @tommy-mitchell/dprint-config dprint

After installing, add your desired dprint plugins:

dprint config add json
dprint config add markdown
dprint config add typescript

Peer 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

0.5.0

5 months ago

0.3.0

1 year ago

0.2.0

1 year ago

0.4.0

11 months ago

0.3.1

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago