dorian 2.6.8 → 3.0.0
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.
- checksums.yaml +4 -4
- data/.node-version +1 -1
- data/.npm-version +1 -1
- data/.rubocop.yml +25 -21
- data/.ruby-version +1 -1
- data/.tool-versions +2 -3
- data/Gemfile +0 -4
- data/Gemfile.lock +63 -116
- data/VERSION +1 -1
- data/dorian.gemspec +19 -19
- data/lib/dorian/bin.rb +82 -75
- data/package-lock.json +8 -8
- data/package.json +5 -5
- data/vendor/prettier/LICENSE +0 -4372
- data/vendor/prettier/README.md +14 -19
- data/vendor/prettier/THIRD-PARTY-NOTICES.md +6059 -0
- data/vendor/prettier/bin/prettier.cjs +27 -18
- data/vendor/prettier/doc.d.ts +11 -0
- data/vendor/prettier/doc.js +742 -776
- data/vendor/prettier/doc.mjs +743 -766
- data/vendor/prettier/index.cjs +266 -371
- data/vendor/prettier/index.d.ts +43 -16
- data/vendor/prettier/index.mjs +9615 -16721
- data/vendor/prettier/internal/experimental-cli-worker.mjs +2841 -0
- data/vendor/prettier/internal/experimental-cli.mjs +12790 -0
- data/vendor/prettier/internal/legacy-cli.mjs +6229 -0
- data/vendor/prettier/package.json +113 -108
- data/vendor/prettier/plugins/acorn.js +16 -6618
- data/vendor/prettier/plugins/acorn.mjs +16 -6456
- data/vendor/prettier/plugins/angular.js +4 -2435
- data/vendor/prettier/plugins/angular.mjs +4 -2375
- data/vendor/prettier/plugins/babel.d.ts +7 -7
- data/vendor/prettier/plugins/babel.js +15 -14271
- data/vendor/prettier/plugins/babel.mjs +15 -13986
- data/vendor/prettier/plugins/estree.d.ts +6 -1
- data/vendor/prettier/plugins/estree.js +43 -9486
- data/vendor/prettier/plugins/estree.mjs +43 -9278
- data/vendor/prettier/plugins/flow.js +19 -51476
- data/vendor/prettier/plugins/flow.mjs +19 -51218
- data/vendor/prettier/plugins/glimmer.d.ts +5 -1
- data/vendor/prettier/plugins/glimmer.js +30 -8527
- data/vendor/prettier/plugins/glimmer.mjs +30 -8414
- data/vendor/prettier/plugins/graphql.d.ts +5 -1
- data/vendor/prettier/plugins/graphql.js +15 -2408
- data/vendor/prettier/plugins/graphql.mjs +15 -2334
- data/vendor/prettier/plugins/html.d.ts +6 -1
- data/vendor/prettier/plugins/html.js +25 -8182
- data/vendor/prettier/plugins/html.mjs +25 -8077
- data/vendor/prettier/plugins/markdown.d.ts +5 -1
- data/vendor/prettier/plugins/markdown.js +57 -9063
- data/vendor/prettier/plugins/markdown.mjs +57 -8972
- data/vendor/prettier/plugins/meriyah.js +5 -5953
- data/vendor/prettier/plugins/meriyah.mjs +5 -5800
- data/vendor/prettier/plugins/postcss.d.ts +5 -1
- data/vendor/prettier/plugins/postcss.js +61 -9244
- data/vendor/prettier/plugins/postcss.mjs +61 -9046
- data/vendor/prettier/plugins/typescript.js +15 -38052
- data/vendor/prettier/plugins/typescript.mjs +15 -37726
- data/vendor/prettier/plugins/yaml.d.ts +5 -1
- data/vendor/prettier/plugins/yaml.js +157 -7423
- data/vendor/prettier/plugins/yaml.mjs +157 -7327
- data/vendor/prettier/standalone.d.ts +1 -1
- data/vendor/prettier/standalone.js +29 -3984
- data/vendor/prettier/standalone.mjs +29 -3938
- metadata +145 -40
- data/vendor/prettier/internal/cli.mjs +0 -4366
data/vendor/prettier/README.md
CHANGED
|
@@ -30,32 +30,28 @@
|
|
|
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>
|
|
37
37
|
</p>
|
|
38
38
|
|
|
39
39
|
<p align="center">
|
|
40
|
-
<a href="https://github.com/prettier/prettier/actions?query=
|
|
41
|
-
<img alt="
|
|
42
|
-
<a href="https://github.com/prettier/prettier/actions?query=workflow%3ADev+branch%3Amain">
|
|
43
|
-
<img alt="Github Actions Build Status" src="https://img.shields.io/github/actions/workflow/status/prettier/prettier/dev-test.yml?label=Dev&style=flat-square"></a>
|
|
44
|
-
<a href="https://github.com/prettier/prettier/actions?query=workflow%3ALint+branch%3Amain">
|
|
45
|
-
<img alt="Github Actions Build Status" src="https://img.shields.io/github/actions/workflow/status/prettier/prettier/lint.yml?label=Lint&style=flat-square"></a>
|
|
40
|
+
<a href="https://github.com/prettier/prettier/actions?query=branch%3Amain">
|
|
41
|
+
<img alt="CI Status" src="https://img.shields.io/github/check-runs/prettier/prettier/main?style=flat-square&label=CI"></a>
|
|
46
42
|
<a href="https://codecov.io/gh/prettier/prettier">
|
|
47
|
-
<img alt="
|
|
48
|
-
<a href="https://
|
|
43
|
+
<img alt="Coverage Status" src="https://img.shields.io/codecov/c/github/prettier/prettier.svg?style=flat-square"></a>
|
|
44
|
+
<a href="https://x.com/acdlite/status/974390255393505280">
|
|
49
45
|
<img alt="Blazing Fast" src="https://img.shields.io/badge/speed-blazing%20%F0%9F%94%A5-brightgreen.svg?style=flat-square"></a>
|
|
50
46
|
<br/>
|
|
51
47
|
<a href="https://www.npmjs.com/package/prettier">
|
|
52
48
|
<img alt="npm version" src="https://img.shields.io/npm/v/prettier.svg?style=flat-square"></a>
|
|
53
49
|
<a href="https://www.npmjs.com/package/prettier">
|
|
54
50
|
<img alt="weekly downloads from npm" src="https://img.shields.io/npm/dw/prettier.svg?style=flat-square"></a>
|
|
55
|
-
<a href="#badge">
|
|
51
|
+
<a href="https://github.com/prettier/prettier#badge">
|
|
56
52
|
<img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square"></a>
|
|
57
|
-
<a href="https://
|
|
58
|
-
<img alt="Follow Prettier on
|
|
53
|
+
<a href="https://x.com/intent/follow?screen_name=PrettierCode">
|
|
54
|
+
<img alt="Follow Prettier on X" src="https://img.shields.io/badge/%40PrettierCode-9f9f9f?style=flat-square&logo=x&labelColor=555"></a>
|
|
59
55
|
</p>
|
|
60
56
|
|
|
61
57
|
## Intro
|
|
@@ -80,17 +76,16 @@ foo(
|
|
|
80
76
|
);
|
|
81
77
|
```
|
|
82
78
|
|
|
83
|
-
Prettier can be run [in your editor](https://prettier.io/docs/
|
|
79
|
+
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
80
|
|
|
85
81
|
---
|
|
86
82
|
|
|
87
|
-
**[Documentation](https://prettier.io/docs/
|
|
83
|
+
**[Documentation](https://prettier.io/docs/)**
|
|
88
84
|
|
|
89
|
-
|
|
90
|
-
[
|
|
91
|
-
[
|
|
92
|
-
[
|
|
93
|
-
[API](https://prettier.io/docs/en/api.html)
|
|
85
|
+
[Install](https://prettier.io/docs/install) ·
|
|
86
|
+
[Options](https://prettier.io/docs/options) ·
|
|
87
|
+
[CLI](https://prettier.io/docs/cli) ·
|
|
88
|
+
[API](https://prettier.io/docs/api)
|
|
94
89
|
|
|
95
90
|
**[Playground](https://prettier.io/playground/)**
|
|
96
91
|
|