Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

chore(deps): update dependency prettier to v1.18.1 #346

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 6, 2019

This PR contains the following updates:

Package Type Update Change
prettier (source) devDependencies minor 1.17.1 -> 1.18.1

Release Notes

prettier/prettier

v1.18.1

Compare Source

diff

  • TypeScript: Add trailing comma in tsx, only for arrow function (#​6190 by @​sosukesuzuki)

    Prettier inserts a trailing comma to single type parameter for arrow functions in tsx, since v 1.18. But, this feature inserts a trailing comma to type parameter for besides arrow functions too (e.g, function , interface). This change fix it.

    // Input
    interface Interface1<T> {
      one: "one";
    }
    function function1<T>() {
      return "one";
    }
    
    // Output (Prettier stable)
    interface Interface1<T,> {
      one: "one";
    }
    function function1<T,>() {
      return "one";
    }
    
    // Output (Prettier master)
    interface Interface1<T> {
      one: "one";
    }
    function function1<T>() {
      return "one";
    }
  • Config: Match dotfiles in config overrides (#​6194 by @​duailibe)

    When using overrides in the config file, Prettier was not matching dotfiles (files that start with .). This was fixed in 1.18.1

v1.18.0

Compare Source

diff

🔗 Release Notes


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency prettier to v1.18.0 chore(deps): update dependency prettier to v1.18.1 Jun 7, 2019
@renovate renovate bot merged commit 79b865f into master Jun 7, 2019
@renovate renovate bot deleted the renovate/prettier-1.x branch June 7, 2019 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant