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.
|
|
|
|
|
2017-09-14 01:14:35 +03:00
|
|
|
1. Go to https://prettier.io/playground
|
2017-09-11 20:28:17 +03:00
|
|
|
2. Paste your code and set options
|
2017-09-14 01:14:35 +03:00
|
|
|
3. Press the "Report issue" button in the lower 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
|
|
|
|
2018-01-11 04:54:01 +03:00
|
|
|
**Prettier 1.10.2**
|
2017-09-14 01:14:35 +03:00
|
|
|
[Playground link](https://prettier.io/playground/#.....)
|
2017-09-14 09:51:37 +03:00
|
|
|
```sh
|
2017-09-14 01:14:35 +03:00
|
|
|
# Options (if any):
|
|
|
|
--single-quote
|
|
|
|
```
|
2017-09-05 19:41:11 +03:00
|
|
|
|
2017-09-11 20:28:17 +03:00
|
|
|
**Input:**
|
2017-09-14 01:14:35 +03:00
|
|
|
```jsx
|
2017-09-05 19:41:11 +03:00
|
|
|
// code snippet
|
|
|
|
```
|
|
|
|
|
2017-09-11 20:28:17 +03:00
|
|
|
**Output:**
|
2017-09-14 01:14:35 +03:00
|
|
|
```jsx
|
2017-09-11 20:28:17 +03:00
|
|
|
// code snippet
|
|
|
|
```
|
2017-09-05 19:41:11 +03:00
|
|
|
|
2017-09-11 20:28:17 +03:00
|
|
|
**Expected behavior:**
|