@tommy-mitchell/dprint-config

0.1.1 • Public • Published

dprint-config

Personal config for dprint.

Install

npm install --save-dev @tommy-mitchell/dprint-config dprint
Other Package Managers
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

Readme

Keywords

Package Sidebar

Install

npm i @tommy-mitchell/dprint-config

Weekly Downloads

8

Version

0.1.1

License

MIT

Unpacked Size

3.41 kB

Total Files

5

Last publish

Collaborators

  • tommy-mitchell