Skip to content

Expand golangci-lint configuration with additional linters #1935

Closed

Description

@bupd

What happened in your environment?

The codebase currently lacks comprehensive linting coverage. Several Go anti-patterns exist that could introduce subtle bugs over time

  • Unchecked errors
  • Improper error handling
    Current .golangci.yml has limited linters enabled.

What did you expect to happen?

The project should have a comprehensive linting setup that:

  • Catches common Go anti-patterns early
  • Maintain consistent code quality

How can we reproduce it?

  1. Run golangci-lint run with additional linters like errcheck, staticcheck, errorlint, nilerr.
  2. Observe various warnings and issues reported

What is the version of your ORAS CLI?

main

What is your OS environment?

ArchLinux BTW

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.

Activity

  1. added
    bug
    triage
    on Dec 10, 2025
  2. bupd commented on Dec 10, 2025

    @bupd
    ContributorAuthor

    /label good-first-issue

  3. added
    good first issue
    and removed
    triage
    on Dec 10, 2025
  4. added 2 commits that reference this issue on Dec 14, 2025
    5843843
    59adeff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions