devongovett / dprint-node

A node API for the dprint TypeScript and JavaScript code formatter
MIT License
483 stars 11 forks source link

Bump dprint-plugin-typescript from 0.71.2 to 0.72.0 #133

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps dprint-plugin-typescript from 0.71.2 to 0.72.0.

Release notes

Sourced from dprint-plugin-typescript's releases.

0.72.0

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
  3. 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.72.0.wasm"
      ]
    }
    

JS Formatting API

Commits
  • f3965b9 0.72.0
  • 658fa30 feat: conditionalExpression.linePerExpression (#407)
  • 50e9333 fix: maintain indented trailing comments in non-last switch case (#412)
  • 2192c94 fix: comments on line above case should not get extra newline when has preced...
  • cf3a647 fix: ensure if body stays on same line when condition is multiline (#405)
  • b8589d0 refactor: remove needless reference of reference
  • 3bfcd51 fix: maintain param parens in arrow function expr when there's an inner comme...
  • See full diff in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #134.