FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Refactor code to enable some lint checks · Issue #4493 · containerd/nerdctl · GitHub

Refactor code to enable some lint checks #4493

Description

After upgrading golangci-lint to v2.4.0 (2025-08-14), CI started failing:

https://github.com/containerd/nerdctl/actions/runs/17294879972/job/49090536229?pr=4490
https://github.com/containerd/nerdctl/actions/runs/17294879986/job/49090535739?pr=4490

As a temporary workaround, we’ve disabled the following linters:

        - name: redundant-test-main-exit
          disabled: true
        - name: enforce-switch-style
          disabled: true
        - name: var-naming
          disabled: true

We need refactor code to re-enabe these checks.

Details: #4490

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL