Skip to content

Releases: dprint/dprint-plugin-typescript

0.90.0

02 Apr 17:16
Compare
Choose a tag to compare

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

0.89.3

23 Feb 20:08
Compare
Choose a tag to compare

Changes

  • perf: upgrade dprint-core 0.66 (#615)

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.89.3.wasm"
      ]
    }

JS Formatting API

0.89.2

21 Feb 20:42
Compare
Choose a tag to compare

Changes

  • fix: memory leak in dprint-swc-ext (#613)

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.89.2.wasm"
      ]
    }

JS Formatting API

0.89.1

16 Feb 13:42
Compare
Choose a tag to compare

Changes

  • fix: remove accidentally left around eprintln (#612)

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.89.1.wasm"
      ]
    }

JS Formatting API

0.89.0

08 Feb 23:28
Compare
Choose a tag to compare

Changes

  • feat: add parenExpression.spaceAround (#607)
  • feat: add catchClause.spaceAround (#608)
  • feat: support source phase imports (#610)
  • fix: arguments.spaceAround not adding spaces when an arrow function is the only argument (#606)

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.89.0.wasm"
      ]
    }

JS Formatting API

0.88.10

22 Jan 20:51
Compare
Choose a tag to compare

Changes

  • upgrade deno_ast to 0.32.0 (#605)

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.88.10.wasm"
      ]
    }

JS Formatting API

0.88.9

13 Jan 16:06
Compare
Choose a tag to compare

Changes

  • fix: error on merge conflict marker (#600)

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.88.9.wasm"
      ]
    }

JS Formatting API

0.88.8

08 Jan 19:36
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  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.88.8.wasm"
      ]
    }

JS Formatting API

0.88.7

01 Dec 17:44
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  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.88.7.wasm"
      ]
    }

JS Formatting API

0.88.6

25 Nov 23:18
Compare
Choose a tag to compare

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  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.88.6.wasm"
      ]
    }

JS Formatting API