prettier/.github/ISSUE_TEMPLATE.md

47 lines
1.2 KiB
Markdown
Raw Normal View History

<!--
BEFORE SUBMITTING AN ISSUE:
1. Search for your issue on GitHub: https://github.com/prettier/prettier/issues
A large number of opened issues are duplicates of existing issues.
If someone has already opened an issue for what you are experiencing,
  you do not need to open a new issue — please add a 👍 reaction to the
existing issue instead.
2018-04-03 21:01:58 +03:00
2. We get a lot of requests for adding options, but Prettier is
2018-04-03 23:54:43 +03:00
built on the principle of being opinionated about code formatting.
2018-04-03 21:01:58 +03:00
This means we have a very high bar for adding new options.
Find out more: https://prettier.io/docs/en/option-philosophy.html
3. If your issue is with a prettier editor extension or add-on, please open the
issue in the repo for that extension or add-on, instead of this repo.
For ugly or incorrect code issues: Please use the below template.
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-11 20:28:17 +03:00
-->
2018-04-17 05:36:39 +03:00
**Prettier 1.12.1**
2017-09-14 01:14:35 +03:00
[Playground link](https://prettier.io/playground/#.....)
```sh
2017-09-14 01:14:35 +03:00
# Options (if any):
--single-quote
```
2017-09-11 20:28:17 +03:00
**Input:**
2017-09-14 01:14:35 +03:00
```jsx
// 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-11 20:28:17 +03:00
**Expected behavior:**