prettier-plugin-hug-call-arguments 0.1.4 → 0.1.5
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 +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,6 +24,14 @@ Requires Prettier 3.x as a peer dependency.
|
|
|
24
24
|
npm install --save-dev prettier-plugin-hug-call-arguments
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
+
```sh
|
|
28
|
+
yarn add --dev prettier-plugin-hug-call-arguments
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
pnpm add --save-dev prettier-plugin-hug-call-arguments
|
|
33
|
+
```
|
|
34
|
+
|
|
27
35
|
Add it to your Prettier config (`.prettierrc`, `.prettierrc.json`,
|
|
28
36
|
`prettier.config.js`, or the `"prettier"` key in `package.json`):
|
|
29
37
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prettier-plugin-hug-call-arguments",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Prettier plugin: hug the last call argument even when it's wrapped in another call, e.g. app.delete(\"/x\", catchAsync(async (req, res) => { ... })). Fixes https://github.com/prettier/prettier/issues/11080",
|
|
5
5
|
"author": "soso tsertsvadze",
|
|
6
6
|
"license": "MIT",
|