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

CI: Fixing linter deprecations #4353

Merged
merged 3 commits into from Sep 21, 2021

Conversation

dannykopping
Copy link
Contributor

@dannykopping dannykopping commented Sep 19, 2021

What this PR does / why we need it:

Which issue(s) this PR fixes:
Partially addresses #1002

Special notes for your reviewer:
I did not include the prealloc linter as suggested by Marco yet as I didn't want to complicate this PR with the requisite changes it would introduce to get CI passing. This should be done in a subsequent PR.

I did implement changes to make revive pass, as it's a little more strict that golint and the suggestions it came up with were all reasonable.

Checklist

  • Documentation added
  • Tests updated

Danny Kopping added 2 commits September 19, 2021 08:05
Replacing deprecated golint with revive (golangci/golangci-lint#1965)

Removing interfacer (golangci/golangci-lint#1755)

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
@dannykopping dannykopping requested a review from a team as a code owner September 19, 2021 06:16
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
Copy link
Contributor

@sandeepsukhani sandeepsukhani left a comment

Choose a reason for hiding this comment

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

Nice work. LGTM!

@dannykopping dannykopping merged commit d5b6d05 into grafana:main Sep 21, 2021
@dannykopping dannykopping deleted the dannykopping/golint-fix branch September 21, 2021 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants