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

fix: make format and golangci-lint errors #1894

Merged
merged 6 commits into from
Aug 5, 2022

Conversation

damiannolan
Copy link
Member

@damiannolan damiannolan commented Aug 5, 2022

Description

To run locally:

Ensure you have gofumpt installed and run the specified make target below:

go install mvdan.cc/gofumpt@latest

make format

closes: #XXXX


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

@damiannolan damiannolan changed the title removing gofmt from golangci.yml fix: make format and golangci-lint errors Aug 5, 2022
@damiannolan damiannolan marked this pull request as ready for review August 5, 2022 15:54
Copy link
Contributor

@charleenfei charleenfei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice one :)

@crodriguezvega crodriguezvega merged commit e5ec801 into main Aug 5, 2022
@crodriguezvega crodriguezvega deleted the damian/try-fix-linter-errs branch August 5, 2022 16:42
mergify bot pushed a commit that referenced this pull request Aug 7, 2022
* removing gofmt from golangci.yml

* attempt to fix gofmt interacer lint errors

* updating makefile and running gofumpt

* adding exception to makefile for misspell, fixing chanOpenConfirm godoc

* removing unnecessary -s flag

(cherry picked from commit e5ec801)
crodriguezvega pushed a commit that referenced this pull request Aug 7, 2022
* removing gofmt from golangci.yml

* attempt to fix gofmt interacer lint errors

* updating makefile and running gofumpt

* adding exception to makefile for misspell, fixing chanOpenConfirm godoc

* removing unnecessary -s flag

(cherry picked from commit e5ec801)

Co-authored-by: Damian Nolan <damiannolan@gmail.com>
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.

3 participants