Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency prettier to v1.18.2 #3819

Merged
merged 1 commit into from Jun 7, 2019
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 7, 2019

This PR contains the following updates:

Package Type Update Change
prettier (source) devDependencies patch 1.18.0 -> 1.18.2

Release Notes

prettier/prettier

v1.18.2

Compare Source

diff

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


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 Update dependency prettier to v1.18.1 Update dependency prettier to v1.18.2 Jun 7, 2019
@renovate renovate bot merged commit 6612f7b into master Jun 7, 2019
@renovate renovate bot deleted the renovate/prettier-1.x branch June 7, 2019 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant