Skip to content

Conversation

@anisurrahman75
Copy link
Member

No description provided.

Signed-off-by: Anisur Rahman <anisur@appscode.com>
Copilot AI review requested due to automatic review settings December 9, 2025 05:52
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the project to golangci-lint 2.x, which introduces a new configuration format and modern linting standards. The migration includes updating the Go version, simplifying the linting Makefile target, removing the old YAML linter configuration, and applying code style changes.

Key Changes

  • Updated to golangci-lint 2.x with new configuration format in .golangci.yml
  • Simplified linting Makefile command to use golangci-lint 2.x defaults
  • Applied code rewrite rule changing interface{} to any (Go 1.18+ alias)

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.golangci.yml Adds new golangci-lint 2.x configuration with standard linters, formatters, and gofmt rewrite rules
Makefile Simplifies lint target by removing explicit flags that are now handled by .golangci.yml
go.mod Updates Go version to 1.25.5 and removes toolchain directive
lintconf.yaml Removes YAML linter configuration file (no longer needed)
pkg/utils.go Applies interface{} to any rewrite rule as configured in the new golangci-lint setup

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@anisurrahman75 anisurrahman75 merged commit 2271102 into master Dec 12, 2025
11 checks passed
@anisurrahman75 anisurrahman75 deleted the update-deps branch December 12, 2025 05:41
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.

2 participants