Skip to content

Commit c261b6f

Browse files
committed
Switch dprint to new gofumpt Wasm plugin
1 parent 06abb77 commit c261b6f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.dprint.jsonc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@
3737
// This would be good to do in known-JSONC files, but VS Code warns on trailing commas.
3838
"trailingCommas": "never"
3939
},
40-
"exec": {
41-
"cwd": "${configDir}",
42-
"commands": [
43-
{ "command": "go tool mvdan.cc/gofumpt", "exts": ["go"], "cacheKeyFiles": ["go.mod"] }
44-
]
40+
"gofumpt": {
41+
"langVersion": "go1.25",
42+
"modulePath": "github.com/microsoft/typescript-go"
4543
},
4644
"excludes": [
4745
"**/.git",
@@ -61,6 +59,6 @@
6159
"https://plugins.dprint.dev/typescript-0.95.13.wasm",
6260
"https://plugins.dprint.dev/json-0.21.0.wasm",
6361
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.1.wasm",
64-
"https://plugins.dprint.dev/exec-0.6.0.json@a054130d458f124f9b5c91484833828950723a5af3f8ff2bd1523bd47b83b364"
62+
"https://plugins.dprint.dev/jakebailey/gofumpt-v0.0.1.wasm"
6563
]
6664
}

0 commit comments

Comments
 (0)