github dprint/dprint-plugin-typescript 0.90.0

latest releases: 0.90.4, 0.90.3, 0.90.2...
22 days ago

Changes

  • feat: allow breaking imports/exports when more than one (#617, #619)
  • fix: upgrade deno_ast to 0.35.0 (#618)

forceMultiLineSpecifiers is no longer a boolean and takes never | always | whenMultiple string options.

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array (can be done via dprint config add typescript).
  2. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "https://plugins.dprint.dev/typescript-0.90.0.wasm"
      ]
    }

JS Formatting API

Don't miss a new dprint-plugin-typescript release

NewReleases is sending notifications on new releases.