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 gci, goprintffuncname, nolintlint linters #2500

Merged
merged 63 commits into from
Jul 12, 2024
Merged

Conversation

ankitjain235
Copy link
Contributor

@ankitjain235 ankitjain235 commented Nov 29, 2023

Change Overview

This PR enables gci linter to group imports.

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Issues

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@ankitjain235 ankitjain235 changed the title Enable gci linter Enable gci, goprintffuncname, nolintlint linters Dec 1, 2023
@github-actions github-actions bot added the stale label Mar 21, 2024
@pavannd1 pavannd1 removed the stale label Mar 21, 2024
@saima-s saima-s requested review from PrasadG193 and pavannd1 May 23, 2024 10:17
cmd/reposervercontroller/main.go Show resolved Hide resolved
pkg/client/listers/cr/v1alpha1/repositoryserver.go Outdated Show resolved Hide resolved
pkg/kopia/cli/repository/storage/gcs/gcs_opts_test.go Outdated Show resolved Hide resolved
pkg/kopia/snapshot/stream.go Outdated Show resolved Hide resolved
pkg/kube/exec_test.go Show resolved Hide resolved
Copy link
Contributor Author

@ankitjain235 ankitjain235 left a comment

Choose a reason for hiding this comment

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

Just one question around why are we disabling default linters.

.golangci.yml Outdated Show resolved Hide resolved
pkg/blockstorage/azure/azuredisk.go Show resolved Hide resolved
Copy link
Contributor

@viveksinghggits viveksinghggits left a comment

Choose a reason for hiding this comment

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

LGTM

cmd/reposervercontroller/main.go Show resolved Hide resolved
pkg/blueprint/validate/validate.go Show resolved Hide resolved
@mergify mergify bot merged commit 80ef874 into master Jul 12, 2024
18 checks passed
@mergify mergify bot deleted the enable-linters-5 branch July 12, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add more linters to golangci.yaml
5 participants