Release notes
*Sourced from [prettier's releases](https://github.com/prettier/prettier/releases).*
> ## 1.18.2
> [π Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1182)
>
> ## 1.18.1
> [π Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1181)
>
> ## Prettier 1.18.0
> π [Release Notes](https://prettier.io/blog/2019/06/06/1.18.0.html)
>
> ## 1.17.1
> π [**Changelog**](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1171)
Changelog
*Sourced from [prettier's changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md).*
> # 1.18.2
>
> [diff](https://github.com/prettier/prettier/compare/1.18.2...1.18.1)
>
> - TypeScript: only add trailing commas in tuples for `--trailing-comma=all` ([#6199](https://github-redirect.dependabot.com/prettier/prettier/issues/6199) by [@duailibe])
>
> In Prettier 1.18 we added trailing commas in tuples when `--trailing-comma=all`, but it was also adding for `--trailing-comma=es5`.
>
> [#6199](https://github-redirect.dependabot.com/prettier/prettier/issues/6199): [#6199](https://github-redirect.dependabot.com/prettier/prettier/pull/6199)
> [@duailibe]: https://github.com/duailibe
>
> # 1.18.1
>
> [diff](https://github.com/prettier/prettier/compare/1.18.1...1.18.0)
>
> - TypeScript: Add trailing comma in tsx, only for arrow function ([#6190](https://github-redirect.dependabot.com/prettier/prettier/issues/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.
>
>
> ```tsx
> // Input
> interface Interface1 {
> one: "one";
> }
> function function1() {
> return "one";
> }
>
> // Output (Prettier stable)
> interface Interface1 {
> one: "one";
> }
> function function1() {
> return "one";
> }
>
> // Output (Prettier master)
> interface Interface1 {
> one: "one";
> }
> function function1() {
> return "one";
> }
> ```
>
> - Config: Match dotfiles in config overrides ([#6194](https://github-redirect.dependabot.com/prettier/prettier/issues/6194) by [@duailibe])
>
> When using [`overrides`](https://prettier.io/docs/en/configuration.html#configuration-overrides) in the config file, Prettier was not matching dotfiles (files that start with `.`). This was fixed in 1.18.1
>
> ... (truncated)
Commits
- [`f7fb04b`](https://github.com/prettier/prettier/commit/f7fb04b0df5b17044d2637e6426f07db6ea3a769) Release 1.18.2
- [`a90adf4`](https://github.com/prettier/prettier/commit/a90adf4753e6c6af24c1ad97e139af647606ebef) Fix adding trailing comma in TS tuples ([#6199](https://github-redirect.dependabot.com/prettier/prettier/issues/6199))
- [`f070f00`](https://github.com/prettier/prettier/commit/f070f003853e8f0237b76cdc3631590541e84fb2) Fix method name and missing curly brace ([#6196](https://github-redirect.dependabot.com/prettier/prettier/issues/6196))
- [`644b419`](https://github.com/prettier/prettier/commit/644b419328fce055d9def7de2cecdb5731968e99) fix typos and stuff in the 1.18 release blog post ([#6191](https://github-redirect.dependabot.com/prettier/prettier/issues/6191))
- [`57a93c4`](https://github.com/prettier/prettier/commit/57a93c4518f445ab5ba9e736efbdfd9aa647a47f) Release 1.18.1
- [`277b92a`](https://github.com/prettier/prettier/commit/277b92a8833dbc77db65895bfb783e496fa30c82) [release script] Update changelog script
- [`4483282`](https://github.com/prettier/prettier/commit/448328270dcc019e4670d09732301621f9513c48) Support overrides for dotfiles ([#6194](https://github-redirect.dependabot.com/prettier/prettier/issues/6194))
- [`8812792`](https://github.com/prettier/prettier/commit/8812792e93bbeac6beb5d99b244ab1f35a489a3e) [TypeScript] Add trailing comma for only arrow functions in tsx. ([#6190](https://github-redirect.dependabot.com/prettier/prettier/issues/6190))
- [`4cc9924`](https://github.com/prettier/prettier/commit/4cc99242a886e885853887ee670b21a4698cac1f) Bump Prettier dependency to 1.18.0
- [`3ac90b3`](https://github.com/prettier/prettier/commit/3ac90b3e3703f2d6ae62a423f4c2a7ca80e7e05b) Release 1.18.0
- Additional commits viewable in [compare view](https://github.com/prettier/prettier/compare/1.17.0...1.18.2)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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 use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps prettier from 1.17.0 to 1.18.2.
Release notes
*Sourced from [prettier's releases](https://github.com/prettier/prettier/releases).* > ## 1.18.2 > [π Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1182) > > ## 1.18.1 > [π Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1181) > > ## Prettier 1.18.0 > π [Release Notes](https://prettier.io/blog/2019/06/06/1.18.0.html) > > ## 1.17.1 > π [**Changelog**](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1171)Changelog
*Sourced from [prettier's changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md).* > # 1.18.2 > > [diff](https://github.com/prettier/prettier/compare/1.18.2...1.18.1) > > - TypeScript: only add trailing commas in tuples for `--trailing-comma=all` ([#6199](https://github-redirect.dependabot.com/prettier/prettier/issues/6199) by [@duailibe]) > > In Prettier 1.18 we added trailing commas in tuples when `--trailing-comma=all`, but it was also adding for `--trailing-comma=es5`. > > [#6199](https://github-redirect.dependabot.com/prettier/prettier/issues/6199): [#6199](https://github-redirect.dependabot.com/prettier/prettier/pull/6199) > [@duailibe]: https://github.com/duailibe > > # 1.18.1 > > [diff](https://github.com/prettier/prettier/compare/1.18.1...1.18.0) > > - TypeScript: Add trailing comma in tsx, only for arrow function ([#6190](https://github-redirect.dependabot.com/prettier/prettier/issues/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. > > > ```tsx > // Input > interface Interface1Commits
- [`f7fb04b`](https://github.com/prettier/prettier/commit/f7fb04b0df5b17044d2637e6426f07db6ea3a769) Release 1.18.2 - [`a90adf4`](https://github.com/prettier/prettier/commit/a90adf4753e6c6af24c1ad97e139af647606ebef) Fix adding trailing comma in TS tuples ([#6199](https://github-redirect.dependabot.com/prettier/prettier/issues/6199)) - [`f070f00`](https://github.com/prettier/prettier/commit/f070f003853e8f0237b76cdc3631590541e84fb2) Fix method name and missing curly brace ([#6196](https://github-redirect.dependabot.com/prettier/prettier/issues/6196)) - [`644b419`](https://github.com/prettier/prettier/commit/644b419328fce055d9def7de2cecdb5731968e99) fix typos and stuff in the 1.18 release blog post ([#6191](https://github-redirect.dependabot.com/prettier/prettier/issues/6191)) - [`57a93c4`](https://github.com/prettier/prettier/commit/57a93c4518f445ab5ba9e736efbdfd9aa647a47f) Release 1.18.1 - [`277b92a`](https://github.com/prettier/prettier/commit/277b92a8833dbc77db65895bfb783e496fa30c82) [release script] Update changelog script - [`4483282`](https://github.com/prettier/prettier/commit/448328270dcc019e4670d09732301621f9513c48) Support overrides for dotfiles ([#6194](https://github-redirect.dependabot.com/prettier/prettier/issues/6194)) - [`8812792`](https://github.com/prettier/prettier/commit/8812792e93bbeac6beb5d99b244ab1f35a489a3e) [TypeScript] Add trailing comma for only arrow functions in tsx. ([#6190](https://github-redirect.dependabot.com/prettier/prettier/issues/6190)) - [`4cc9924`](https://github.com/prettier/prettier/commit/4cc99242a886e885853887ee670b21a4698cac1f) Bump Prettier dependency to 1.18.0 - [`3ac90b3`](https://github.com/prettier/prettier/commit/3ac90b3e3703f2d6ae62a423f4c2a7ca80e7e05b) Release 1.18.0 - Additional commits viewable in [compare view](https://github.com/prettier/prettier/compare/1.17.0...1.18.2)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.