Releases: dprint/dprint-plugin-typescript
Releases · dprint/dprint-plugin-typescript
0.90.0
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
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - 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
- JS Formatter - Browser/Deno and Node
- npm package
0.89.3
Changes
- perf: upgrade dprint-core 0.66 (#615)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - 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
- JS Formatter - Browser/Deno and Node
- npm package
0.89.2
Changes
- fix: memory leak in dprint-swc-ext (#613)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - 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
- JS Formatter - Browser/Deno and Node
- npm package
0.89.1
Changes
- fix: remove accidentally left around eprintln (#612)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - 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
- JS Formatter - Browser/Deno and Node
- npm package
0.89.0
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
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - 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
- JS Formatter - Browser/Deno and Node
- npm package
0.88.10
Changes
- upgrade deno_ast to 0.32.0 (#605)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - 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
- JS Formatter - Browser/Deno and Node
- npm package
0.88.9
Changes
- fix: error on merge conflict marker (#600)
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array (can be done viadprint config add typescript
). - 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
- JS Formatter - Browser/Deno and Node
- npm package
0.88.8
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - 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
- JS Formatter - Browser/Deno and Node
- npm package
0.88.7
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - 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
- JS Formatter - Browser/Deno and Node
- npm package
0.88.6
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - 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
- JS Formatter - Browser/Deno and Node
- npm package