You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dprint 0.61.0 no longer loads dprint-plugin-gofumpt #1306
The same plugin works with dprint 0.57.4. This appears related to #1303: the plugin already runs TinyGo’s _initialize as its Wasm start function, and dprint now calls it again.
Oops... not sure the way around this one other than to fix gofumpt. Maybe I could hardcode an exception to ignore it for gofumpt versions lower than a certain version?
Do you have any suggestions on how dprint could change to make this transition easier or what could be done? I'd like to get it running this so that I can ditch the process plugin for dprint-plugin-roslyn (which allows it to run sandboxed, is more portable, and also runs faster for some reason dprint/dprint-plugin-roslyn#36)
The integration tests would be great, at least just starting up the plugins.
If you're willing to hardcode something I'm going to fix it on my end right now, but I can understand not wanting to do that too. (Though that would be nice because I typically use dprint installed by cargo for my own dev 😄)
Activity
jakebailey commentedon Oct 7, 2026
I think I can fix my own code by deleting
_initialize. Wasm is goofy...jakebailey commentedon Oct 7, 2026
Yeah, ultimately, I think this is my fault when trying to get tinygo wasm blobs running in dprint :<
dsherret commentedon Oct 7, 2026
Oops... not sure the way around this one other than to fix gofumpt. Maybe I could hardcode an exception to ignore it for gofumpt versions lower than a certain version?
Do you have any suggestions on how dprint could change to make this transition easier or what could be done? I'd like to get it running this so that I can ditch the process plugin for dprint-plugin-roslyn (which allows it to run sandboxed, is more portable, and also runs faster for some reason dprint/dprint-plugin-roslyn#36)
dsherret commentedon Oct 7, 2026
I should add an integration test to dprint to run all the known plugins on each commit.
jakebailey commentedon Oct 7, 2026
The integration tests would be great, at least just starting up the plugins.
If you're willing to hardcode something I'm going to fix it on my end right now, but I can understand not wanting to do that too. (Though that would be nice because I typically use dprint installed by cargo for my own dev 😄)
jakebailey commentedon Oct 7, 2026
Thanks for the fix, and sorry to make you hardcode me.....
dsherret commentedon Oct 7, 2026
Should be fixed. Sorry about that too!