Releases: dprint/dprint-plugin-typescript
Releases · dprint/dprint-plugin-typescript
0.68.4
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.ts
,.tsx
,.js
,.jsx
,.mjs
,.cjs
file extensions are matched in an"includes"
pattern. - Add a
"typescript"
configuration property if desired.
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.68.3
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.ts
,.tsx
,.js
,.jsx
,.mjs
,.cjs
file extensions are matched in an"includes"
pattern. - 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.68.3.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.68.2
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.ts
,.tsx
,.js
,.jsx
,.mjs
,.cjs
file extensions are matched in an"includes"
pattern. - 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.68.2.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.68.1
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.ts
,.tsx
,.js
,.jsx
,.mjs
,.cjs
file extensions are matched in an"includes"
pattern. - 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.68.1.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.68.0
Breaking Changes
- Uses 2 space indents by default to align with Deno and Prettier.
- If you want the old default, add
"indentWidth": 4
to your config.
- If you want the old default, add
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.ts
,.tsx
,.js
,.jsx
,.mjs
,.cjs
file extensions are matched in an"includes"
pattern. - 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.68.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.67.1
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.ts
,.tsx
,.js
,.jsx
,.mjs
,.cjs
file extensions are matched in an"includes"
pattern. - 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.67.1.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.67.0
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.ts
,.tsx
,.js
,.jsx
,.mjs
,.cjs
file extensions are matched in an"includes"
pattern. - 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.67.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.66.0
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.ts
,.tsx
,.js
,.jsx
,.mjs
,.cjs
file extensions are matched in an"includes"
pattern. - 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.66.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.65.1
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.ts
,.tsx
,.js
,.jsx
,.mjs
,.cjs
file extensions are matched in an"includes"
pattern. - 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.65.1.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package
0.65.0
Install
Then in your project's dprint configuration file:
- Specify the plugin url in the
"plugins"
array. - Ensure
.ts
,.tsx
,.js
,.jsx
,.mjs
,.cjs
file extensions are matched in an"includes"
pattern. - 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.65.0.wasm" ] }
JS Formatting API
- JS Formatter - Browser/Deno and Node
- npm package