chore: migrate to golangci-lint v2 and modernize configuration#196
chore: migrate to golangci-lint v2 and modernize configuration#1962004Pruthvi wants to merge 1 commit intomeshery-extensions:masterfrom
Conversation
Signed-off-by: pruthvi@2004 <165915900+2004Pruthvi@users.noreply.github.com>
|
@2004Pruthvi thanks for contrbution, Please could you move to golangci-lint v2 which is the latest version. We did upgrade in some other projects |
|
Updated to golangci-lint v2! |
|
please update PR title accordingly to your latest changes |
.golangci.yml
Outdated
| statements: 50 | ||
| gci: | ||
| local-prefixes: github.com/golangci/golangci-lint | ||
| local-prefixes: github.com/meshery/meshery-cilium |
There was a problem hiding this comment.
why this changes ?
also the repo should be github.com/meshery-extensions/meshery-cilium
There was a problem hiding this comment.
Done! I have corrected the repository path to github.com/meshery-extensions/meshery-cilium and removed the duplicate local-prefixes entry. I've also updated the PR title to reflect the v2 migration.
Verified the YAML structure—this is now ready for a final review and merge! CC: @lekaf974
3827063 to
2f5c76b
Compare
Description:
This PR modernizes the .golangci.yml to align with v1.62 standards. This was split from #195 to maintain atomic contributions as suggested by @lekaf974.
Changes:
Migrated gomnd to mnd in exclude-rules for version compatibility.
Removed deprecated service and legacy skip-dirs blocks.
Updated internal linter settings to the current schema.
Related: #195