Skip to content

chore(backend): add golangci-lint configuration file #51

Description

@GRACENOBLE

Problem

The backend CI workflow runs golangci-lint but there is no .golangci.yml in the repo. Without it, the linter uses default settings which may differ across developer machines and CI, causing inconsistent results.

Acceptance criteria

  • Add .golangci.yml (or .golangci.toml) to backend/
  • Enable at minimum: errcheck, govet, staticcheck, unused, goimports, revive
  • Pin the linter version in the CI workflow
  • Existing code passes with the new config (or known violations are addressed)

Activity

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

    area: backendGo REST APIpriority: highImportant — address in the current sprinttype: choreCleanup or maintenance tasks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions