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

Enable gofumpt linter; format code gofumpt -w . #1576

Merged
merged 1 commit into from
Jun 13, 2023
Merged

Enable gofumpt linter; format code gofumpt -w . #1576

merged 1 commit into from
Jun 13, 2023

Conversation

alexandear
Copy link
Contributor

@alexandear alexandear commented Jun 13, 2023

This PR:

  • Formats all code with the command gofumpt -w . (removed empty lines, replaces var a = with a :=, } indentation, octal literals etc.)
  • Enables gofumpt linter in golangci-lint args to ensure everyone will follow the consistent style in future PRs;
  • Removes gofmt because it's rules are a subset of gofumpt.

@erikdubbelboer erikdubbelboer merged commit ffdf59d into valyala:master Jun 13, 2023
14 checks passed
@erikdubbelboer
Copy link
Collaborator

Thanks! I like it!

@alexandear alexandear deleted the all-enable-gofumpt branch June 13, 2023 17:00
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