Skip to content

0.73.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Sep 23:51
· 134 commits to main since this release

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "includes": [
        "**/*.{ts,tsx,js,jsx,mjs,cjs}"
      ],
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.73.0.wasm"
      ]
    }

JS Formatting API