Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switched to revive, goimports, re-formatted everything #1233

Merged
merged 10 commits into from
Mar 29, 2023

Conversation

Groxx
Copy link
Contributor

@Groxx Groxx commented Mar 17, 2023

Works pretty well!
This is using the latest versions of everything in internal/tools/go.mod (except thrift), and using the server's revive.toml as a base.

Revive is a bit noisy due to some Id -> ID recommendations, but we probably should actually do that for v2.

Works pretty well!
Using latest tools/go.mod versions (except thrift), and using the server's revive.toml for starting out.

Revive is a bit noisy due to some `Id` -> `ID` recommendations, but we probably
should actually do that for v2.
…ore nicely

Somewhat surprisingly, goimports does not have a way to forcefully merge groups into its 3-tier structure.
Personally I'd like to do that for consistency, allowing separate groups only if documented.

But meh.  They're kinda unlikely to degrade, and it doesn't really matter if they do.
revive.toml Show resolved Hide resolved
revive.toml Show resolved Hide resolved
mocks/WorkflowRun.go Show resolved Hide resolved
@Groxx Groxx merged commit a73fe0e into uber-go:master Mar 29, 2023
@Groxx Groxx deleted the newer-tools branch March 29, 2023 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants