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

Bump golangci-lint to v1.18.0 #354

Merged
merged 6 commits into from
Sep 13, 2019
Merged

Bump golangci-lint to v1.18.0 #354

merged 6 commits into from
Sep 13, 2019

Conversation

thrasher-
Copy link
Collaborator

@thrasher- thrasher- commented Sep 13, 2019

Description

Bumps golangci-lint to v1.18.0

AppVeyor only supports Go 0.12.3 for Windows and 0.12.7 on Linux, though I assume their stack will be updated shortly.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

go test ./... -race and CI

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation and regenerated documentation via the documentation tool
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally and on Travis with my changes
  • Any dependent changes have been merged and published in downstream modules

AppVeyor has been left alone as it only supports Go 0.12.3 which is
broken for Windows
@thrasher- thrasher- changed the title Bump golangci-lint to v0.18.0 Bump golangci-lint to v1.18.0 Sep 13, 2019
Copy link
Collaborator

@shazbert shazbert left a comment

Choose a reason for hiding this comment

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

Awesome bump-de-bump!
tACK - local CI update to 1.18 and build/run

Copy link
Contributor

@xtda xtda left a comment

Choose a reason for hiding this comment

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

Might be outside the scope but

GO111MODULE=on go get $(GCTPKG)

is redundant because to even execute this make file you already have GCT (either via go get which would have already pulled the files down) or cloning the repo

Same with the "get" make target

Other than that tested no linter issues

Approved

@thrasher-
Copy link
Collaborator Author

Might be outside the scope but

GO111MODULE=on go get $(GCTPKG)

is redundant because to even execute this make file you already have GCT (either via go get which would have already pulled the files down) or cloning the repo

Same with the "get" make target

Other than that tested no linter issues

Approved

Will do that in a separate makefile update as I wish to add more flags to it for engine (protobuff generation, version override and a few other things)

Copy link
Collaborator

@gloriousCode gloriousCode left a comment

Choose a reason for hiding this comment

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

Tested, approved, no lint errors 🍨 🌹 🚌

config/config.go Outdated
case "d":
c.NTPClient.Level = -1
resp = "Future notications for out time sync have been disabled"
Copy link
Contributor

Choose a reason for hiding this comment

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

notications -> notifications

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Update pushed 👍

config/config.go Show resolved Hide resolved
@thrasher- thrasher- merged commit b1ed894 into master Sep 13, 2019
@thrasher- thrasher- deleted the golangci branch September 13, 2019 03:39
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.

5 participants