2017-09-11 20:28:17 +03:00
|
|
|
<!-- BUGGY OR UGLY? Please use this template.
|
2017-09-05 19:41:11 +03:00
|
|
|
|
2017-09-11 20:28:17 +03:00
|
|
|
Tip! Don't write this stuff manually.
|
|
|
|
|
|
|
|
1. Go to https://prettier.io/playground/
|
|
|
|
2. Paste your code and set options
|
|
|
|
3. Press the "Copy as markdown" button in the upper right
|
2017-09-05 19:41:11 +03:00
|
|
|
|
2017-09-11 20:28:17 +03:00
|
|
|
-->
|
2017-09-05 19:41:11 +03:00
|
|
|
|
2017-09-12 22:44:50 +03:00
|
|
|
**Prettier Version:** 1.6.1
|
2017-09-11 20:28:17 +03:00
|
|
|
([Playground link](https://prettier.io/playground/#.....))
|
2017-09-05 19:41:11 +03:00
|
|
|
|
2017-09-11 20:28:17 +03:00
|
|
|
**Input:**
|
2017-09-05 19:41:11 +03:00
|
|
|
```js
|
|
|
|
// code snippet
|
|
|
|
```
|
|
|
|
|
2017-09-11 20:28:17 +03:00
|
|
|
**Output:**
|
|
|
|
```js
|
|
|
|
// code snippet
|
|
|
|
```
|
2017-09-05 19:41:11 +03:00
|
|
|
|
2017-09-11 20:28:17 +03:00
|
|
|
**Expected behavior:**
|