Run prettier on more supported files (#7456)
This commit is contained in:
1 parent
f5bb218417
commit
9049c166b4
13 files changed
+132
-117
No files matched your search
@@ -28,17 +28,20 @@ Tip! Don't write this stuff manually.
|
||||
|
||||
**Prettier 1.19.1**
|
||||
[Playground link](https://prettier.io/playground/#.....)
|
||||
|
||||
```sh
|
||||
# Options (if any):
|
||||
--single-quote
|
||||
```
|
||||
|
||||
**Input:**
|
||||
|
||||
```jsx
|
||||
// code snippet
|
||||
```
|
||||
|
||||
**Output:**
|
||||
|
||||
```jsx
|
||||
// code snippet
|
||||
```
|
||||
|
||||
@@ -19,12 +19,14 @@ BEFORE SUBMITTING AN ISSUE:
|
||||
-->
|
||||
|
||||
**Environments:**
|
||||
|
||||
- Prettier Version: 1.19.1
|
||||
- Running Prettier via: <!-- CLI, Node.js API, Browser API, etc. -->
|
||||
- Runtime: <!-- Node.js v6, Chrome v67, etc. -->
|
||||
- Operating System: <!-- Windows, Linux, macOS, etc. -->
|
||||
|
||||
**Steps to reproduce:**
|
||||
|
||||
<!-- shell script, js code, or a link to the minimal reproducible repository -->
|
||||
|
||||
**Expected behavior:**
|
||||
|
||||
@@ -29,12 +29,11 @@ jobs:
|
||||
- name: Lint code
|
||||
run: yarn lint
|
||||
|
||||
- name: Lint docs
|
||||
run: yarn lint-docs
|
||||
- name: Lint prettier
|
||||
run: yarn lint-prettier
|
||||
|
||||
- name: Spellcheck
|
||||
run: yarn spellcheck
|
||||
|
||||
- name: Check file changes
|
||||
run: yarn && echo "Listing changed files:" && git diff --name-only --exit-code && echo "No files changed during lint."
|
||||
|
||||
Reference in new issue
Block a user