@jakebailey/dprint-plugin-gofumpt 0.0.13 → 0.0.14
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 +5 -3
- package/metadata/LICENSES +2 -2
- package/package.json +11 -7
- package/plugin.wasm +0 -0
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ After adding the plugin, configure the plugin in `dprint.json`:
|
|
|
22
22
|
"modulePath": "github.com/myorg/myproject"
|
|
23
23
|
},
|
|
24
24
|
"plugins": [
|
|
25
|
-
"https://plugins.dprint.dev/jakebailey/gofumpt-v0.0.
|
|
25
|
+
"https://plugins.dprint.dev/jakebailey/gofumpt-v0.0.14.wasm"
|
|
26
26
|
]
|
|
27
27
|
}
|
|
28
28
|
```
|
|
@@ -39,7 +39,7 @@ dprint add npm:@jakebailey/dprint-plugin-gofumpt
|
|
|
39
39
|
{
|
|
40
40
|
// ...
|
|
41
41
|
"plugins": [
|
|
42
|
-
"npm:@jakebailey/dprint-plugin-gofumpt@0.0.
|
|
42
|
+
"npm:@jakebailey/dprint-plugin-gofumpt@0.0.14"
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
```
|
|
@@ -56,6 +56,7 @@ formatting results, as the plugin cannot infer this information from `go.mod`.
|
|
|
56
56
|
| `extra` | `object` | `{}` | Enable individual extra rules. |
|
|
57
57
|
| `extra.groupParams` | `boolean` | `false` | Group adjacent function parameters with repeated types. |
|
|
58
58
|
| `extra.clotheReturns` | `boolean` | `false` | Replace naked returns in functions with named results with explicit return values. |
|
|
59
|
+
| `extra.balanceCalls` | `boolean` | `false` | Place a multi-line call's closing parenthesis on its own line when the opening parenthesis ends a line. |
|
|
59
60
|
| `extraRules` | `boolean` | `false` | Enable all extra formatting rules beyond the default gofumpt rules. Deprecated: use `extra` to enable individual rules instead. |
|
|
60
61
|
|
|
61
62
|
## Versions
|
|
@@ -65,7 +66,8 @@ plugin versions correspond to which `gofumpt` versions.
|
|
|
65
66
|
|
|
66
67
|
| Plugin Version | gofumpt Version |
|
|
67
68
|
| -------------- | ------------------------------------- |
|
|
68
|
-
| v0.0.
|
|
69
|
+
| v0.0.14+ | v0.11.0 |
|
|
70
|
+
| v0.0.12+ | v0.10.1-0.20260531213040-cc84354298ea |
|
|
69
71
|
| v0.0.10+ | v0.10.0 |
|
|
70
72
|
| v0.0.2+ | v0.9.3-0.20251215221355-d3e4b13ef7fa |
|
|
71
73
|
| v0.0.1 | v0.9.2 |
|
package/metadata/LICENSES
CHANGED
|
@@ -25,7 +25,7 @@ THIRD PARTY LICENSES
|
|
|
25
25
|
================================================================================
|
|
26
26
|
|
|
27
27
|
================================================================================
|
|
28
|
-
golang.org/x/tools/go/ast/astutil v0.
|
|
28
|
+
golang.org/x/tools/go/ast/astutil v0.48.0
|
|
29
29
|
BSD-3-Clause
|
|
30
30
|
================================================================================
|
|
31
31
|
|
|
@@ -59,7 +59,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
================================================================================
|
|
62
|
-
mvdan.cc/gofumpt v0.
|
|
62
|
+
mvdan.cc/gofumpt v0.11.0
|
|
63
63
|
BSD-3-Clause
|
|
64
64
|
================================================================================
|
|
65
65
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jakebailey/dprint-plugin-gofumpt",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"description": "Wasm module for dprint-plugin-gofumpt, a dprint plugin for formatting Go code with gofumpt.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -32,16 +32,20 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@changesets/cli": "^2.31.
|
|
35
|
+
"@changesets/cli": "^2.31.1",
|
|
36
36
|
"@dprint/formatter": "^0.5.1",
|
|
37
|
-
"@
|
|
38
|
-
"
|
|
39
|
-
"dprint": "
|
|
37
|
+
"@dprint/json": "0.23.0",
|
|
38
|
+
"@dprint/markdown": "0.22.1",
|
|
39
|
+
"@dprint/typescript": "0.96.1",
|
|
40
|
+
"@types/node": "^26.1.1",
|
|
41
|
+
"binaryen": "^131.0.0",
|
|
42
|
+
"dprint": "^0.55.2",
|
|
43
|
+
"dprint-plugin-yaml": "0.6.0",
|
|
40
44
|
"hereby": "^1.15.1",
|
|
41
|
-
"typescript": "^
|
|
45
|
+
"typescript": "^7.0.2"
|
|
42
46
|
},
|
|
43
47
|
"scripts": {
|
|
44
48
|
"typecheck": "tsc",
|
|
45
|
-
"version": "changeset version && hereby
|
|
49
|
+
"version": "changeset version && hereby releaseMetadata"
|
|
46
50
|
}
|
|
47
51
|
}
|
package/plugin.wasm
CHANGED
|
Binary file
|