Files
test-repo/.github/ISSUE_TEMPLATE/formatting.md
T
2026-09-18 05:33:16 +08:00

58 lines
1.2 KiB
Markdown

---
name: ✨ Formatting
about: Issues for ugly or incorrect code
---
<!--
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.
2. We get a lot of requests for adding options, but Prettier is
built on the principle of being opinionated about code formatting.
This means we add options only in the case of strict technical necessity.
Find out more: https://prettier.io/docs/option-philosophy
Don't fill the form below manually! Let a program create a report for you:
1. Go to https://prettier.io/playground
2. Paste your code and set options
3. Press the "Report issue" button in the lower right
-->
**Prettier 3.9.8**
[Playground link](https://prettier.io/playground/#.....)
```sh
# Options (if any):
--single-quote
```
**Input:**
```jsx
// code snippet
```
**Output:**
```jsx
// code snippet
```
**Expected output:**
```jsx
// code snippet
```
**Why?**
<!-- short explanation of expected output -->