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

Replace deprecated linters #203

Merged
merged 1 commit into from
Apr 2, 2021
Merged

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Apr 2, 2021

  • replace deprecated maligned linter with govet: fieldalignment
  • replace deprecated scopelint linter with exportloopref

fixes GH-202

- replace deprecated `maligned` linter with
  `govet: fieldalignment`
- replace deprecated `scopelint` linter with
  `exportloopref`

refs GH-202
@atc0005 atc0005 added bug Something isn't working linting labels Apr 2, 2021
@atc0005 atc0005 added this to the Next Release milestone Apr 2, 2021
@atc0005 atc0005 self-assigned this Apr 2, 2021
@atc0005
Copy link
Owner Author

atc0005 commented Apr 2, 2021

CI failure is expected: the issue is with the existing project source code and not the golangci-lint config file changes included with this PR.

@atc0005
Copy link
Owner Author

atc0005 commented Apr 2, 2021

Also, the earlier "success" by some of the containers is due to the latest v0.3.19 atc0005/go-ci containers only being partially finished uploading. Had this PR landed a little earlier, it is likely that no issues would have been flagged with the source.

@atc0005 atc0005 merged commit 3c698c9 into master Apr 2, 2021
@atc0005 atc0005 deleted the i202-replace-deprecated-linters branch April 2, 2021 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace deprecated linters: maligned, scopelint
1 participant