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
This feature will also allow woke to take advantage of GitHub suggestions using something like reviewdog/action-suggester
A caveat with this feature is this should be a "best effort" fix and doesn't guarantee that the fixes it makes will produce functioning code as renaming variables/functions/methods/classes can have far-ranging implications and therefore, using this feature shouldn't be done with blind trust.
Features
Opt-in only (disabled by default)
Uses the first "alternative" for replacement
Should be able to write fixes to files as well as write the diff to stdout
Something similar to gofmt -w
-w
Do not print reformatted sources to standard output.
If a file's formatting is different from gofmt's, overwrite it
with gofmt's version. If an error occurred during overwriting,
the original file is restored from an automatic backup.
Most linters have the ability to automatically fix any violations that are found. Some examples:
This feature will also allow woke to take advantage of GitHub suggestions using something like reviewdog/action-suggester
A caveat with this feature is this should be a "best effort" fix and doesn't guarantee that the fixes it makes will produce functioning code as renaming variables/functions/methods/classes can have far-ranging implications and therefore, using this feature shouldn't be done with blind trust.
Features
gofmt -w
The text was updated successfully, but these errors were encountered: