Release 1.18.2

master
Lucas Duailibe 2019-06-07 11:55:05 -03:00
parent a90adf4753
commit f7fb04b0df
4 changed files with 14 additions and 3 deletions

View File

@ -26,7 +26,7 @@ Tip! Don't write this stuff manually.
-->
**Prettier 1.18.1**
**Prettier 1.18.2**
[Playground link](https://prettier.io/playground/#.....)
```sh
# Options (if any):

View File

@ -19,7 +19,7 @@ BEFORE SUBMITTING AN ISSUE:
-->
**Environments:**
- Prettier Version: 1.18.1
- Prettier Version: 1.18.2
- Running Prettier via: <!-- CLI, Node.js API, Browser API, etc. -->
- Runtime: <!-- Node.js v6, Chrome v67, etc. -->
- Operating System: <!-- Windows, Linux, macOS, etc. -->

View File

@ -1,3 +1,14 @@
# 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] 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.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)

View File

@ -1,6 +1,6 @@
{
"name": "prettier",
"version": "1.18.1",
"version": "1.18.2",
"description": "Prettier is an opinionated code formatter",
"bin": {
"prettier": "./bin/prettier.js"