prettier 4.0.0-alpha.10 → 4.0.0-alpha.11
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/LICENSE +0 -4381
- package/README.md +7 -8
- package/THIRD-PARTY-NOTICES.md +4416 -0
- package/bin/prettier.cjs +4 -0
- package/doc.d.ts +11 -0
- package/doc.js +329 -393
- package/doc.mjs +329 -393
- package/index.cjs +10 -2
- package/index.d.ts +13 -3
- package/index.mjs +2320 -1964
- package/internal/cli.mjs +2268 -1295
- package/package.json +3 -2
- package/plugins/acorn.js +10 -10
- package/plugins/acorn.mjs +10 -10
- package/plugins/angular.js +2 -1
- package/plugins/angular.mjs +2 -1
- package/plugins/babel.js +11 -11
- package/plugins/babel.mjs +11 -11
- package/plugins/estree.js +28 -28
- package/plugins/estree.mjs +28 -28
- package/plugins/flow.js +15 -15
- package/plugins/flow.mjs +15 -15
- package/plugins/glimmer.js +23 -23
- package/plugins/glimmer.mjs +23 -23
- package/plugins/graphql.js +16 -16
- package/plugins/graphql.mjs +16 -16
- package/plugins/html.js +17 -17
- package/plugins/html.mjs +17 -17
- package/plugins/markdown.js +44 -43
- package/plugins/markdown.mjs +44 -43
- package/plugins/meriyah.js +4 -4
- package/plugins/meriyah.mjs +4 -4
- package/plugins/postcss.js +33 -31
- package/plugins/postcss.mjs +33 -31
- package/plugins/typescript.js +14 -14
- package/plugins/typescript.mjs +14 -14
- package/plugins/yaml.js +66 -66
- package/plugins/yaml.mjs +66 -66
- package/standalone.d.ts +1 -1
- package/standalone.js +32 -28
- package/standalone.mjs +33 -29
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
</em>
|
|
31
31
|
<br />
|
|
32
32
|
<em>
|
|
33
|
-
<a href="https://prettier.io/docs/
|
|
33
|
+
<a href="https://prettier.io/docs/plugins">
|
|
34
34
|
Your favorite language?
|
|
35
35
|
</a>
|
|
36
36
|
</em>
|
|
@@ -80,17 +80,16 @@ foo(
|
|
|
80
80
|
);
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
Prettier can be run [in your editor](https://prettier.io/docs/
|
|
83
|
+
Prettier can be run [in your editor](https://prettier.io/docs/editors) on-save, in a [pre-commit hook](https://prettier.io/docs/precommit), or in [CI environments](https://prettier.io/docs/cli#list-different) to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!
|
|
84
84
|
|
|
85
85
|
---
|
|
86
86
|
|
|
87
|
-
**[Documentation](https://prettier.io/docs/
|
|
87
|
+
**[Documentation](https://prettier.io/docs/)**
|
|
88
88
|
|
|
89
|
-
|
|
90
|
-
[
|
|
91
|
-
[
|
|
92
|
-
[
|
|
93
|
-
[API](https://prettier.io/docs/en/api.html)
|
|
89
|
+
[Install](https://prettier.io/docs/install) ·
|
|
90
|
+
[Options](https://prettier.io/docs/options) ·
|
|
91
|
+
[CLI](https://prettier.io/docs/cli) ·
|
|
92
|
+
[API](https://prettier.io/docs/api)
|
|
94
93
|
|
|
95
94
|
**[Playground](https://prettier.io/playground/)**
|
|
96
95
|
|