github dprint/dprint-plugin-typescript 0.103.1

33 minutes ago

Changes

Quick follow-up to 0.103.0 to improve a just released feature:

  • fix: replace functionBody.maintainSingleLine with singleLineBody and per-function overrides (#955)

Property that was previously just added keeps working for this version, but will be removed in the next one.

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 add typescript).
  2. Add a "typescript" configuration property if desired.
    {
      // ...etc...
      "typescript": {
        // TypeScript & JavaScript config goes here
      },
      "excludes": [
        "**/node_modules"
      ],
      "plugins": [
        "npm:@dprint/typescript@0.103.1"
      ]
    }

JS Formatting API

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

NewReleases is sending notifications on new releases.