prettier 2.0.0 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -10
- package/bin-prettier.js +568 -496
- package/doc.js +9 -3
- package/index.js +155 -121
- package/package.json +1 -1
- package/parser-babel.js +1 -1
- package/parser-flow.js +1 -1
- package/parser-graphql.js +1 -1
- package/parser-html.js +1 -1
- package/parser-markdown.js +8 -2
- package/parser-postcss.js +2 -2
- package/parser-typescript.js +3 -3
- package/standalone.js +136 -114
- package/third-party.js +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
## Prettier 2.0
|
|
2
|
-
|
|
3
|
-
This is the branch containing code for Prettier’s 2.0 release. See [the `master` branch](https://github.com/prettier/prettier) for the 1.x code/docs.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
1
|

|
|
8
2
|
|
|
9
3
|
<h2 align="center">Opinionated Code Formatter</h2>
|
|
@@ -43,10 +37,12 @@ This is the branch containing code for Prettier’s 2.0 release. See [the `maste
|
|
|
43
37
|
</p>
|
|
44
38
|
|
|
45
39
|
<p align="center">
|
|
46
|
-
<a href="https://
|
|
47
|
-
<img alt="
|
|
48
|
-
<a href="https://github.com/prettier/prettier/actions">
|
|
49
|
-
<img alt="Github Actions Build Status" src="https://img.shields.io/github/workflow/status/prettier/prettier/
|
|
40
|
+
<a href="https://github.com/prettier/prettier/actions?query=workflow%3AProd+branch%3Amaster">
|
|
41
|
+
<img alt="Github Actions Build Status" src="https://img.shields.io/github/workflow/status/prettier/prettier/Prod?label=Prod&style=flat-square"></a>
|
|
42
|
+
<a href="https://github.com/prettier/prettier/actions?query=workflow%3ADev+branch%3Amaster">
|
|
43
|
+
<img alt="Github Actions Build Status" src="https://img.shields.io/github/workflow/status/prettier/prettier/Dev?label=Dev&style=flat-square"></a>
|
|
44
|
+
<a href="https://github.com/prettier/prettier/actions?query=workflow%3ALint+branch%3Amaster">
|
|
45
|
+
<img alt="Github Actions Build Status" src="https://img.shields.io/github/workflow/status/prettier/prettier/Lint?label=Lint&style=flat-square"></a>
|
|
50
46
|
<a href="https://codecov.io/gh/prettier/prettier">
|
|
51
47
|
<img alt="Codecov Coverage Status" src="https://img.shields.io/codecov/c/github/prettier/prettier.svg?style=flat-square"></a>
|
|
52
48
|
<a href="https://twitter.com/acdlite/status/974390255393505280">
|