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

@infraq infraq added this to In Progress in Kanister Nov 29, 2023
@ankitjain235 ankitjain235 changed the title Enable gci linter Enable gci, goprintffuncname, nolintlint linters Dec 1, 2023
Copy link

This PR is marked as stale due to inactivity. Add a new comment to reactivate it.

@github-actions github-actions bot added the stale label Mar 21, 2024
@pavannd1 pavannd1 removed the stale label Mar 21, 2024
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
Kanister automation moved this from In Progress to Reviewer approved Jul 12, 2024
@mergify mergify bot merged commit 80ef874 into master Jul 12, 2024
18 checks passed
Kanister automation moved this from Reviewer approved to Done Jul 12, 2024
@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
Development

Successfully merging this pull request may close these issues.

Add more linters to golangci.yaml
5 participants