Skip to content

Setup golangci-lint for static analysis of backend #1432

@ferhatelmas

Description

@ferhatelmas

Is your feature request related to a problem? Please describe

Currently, we lack automated static analysis for Go code, which means code quality issues, bugs, and style inconsistencies are only caught during manual code review or not at all.

Describe the solution you'd like

Integrate golangci-lint into the repository with a curated set of linters (e.g., errcheck, staticcheck, gosec, govet), a .golangci.yml config file, and CI pipeline integration to run on every PR.

Describe alternatives you've considered

  • Running individual linters manually (fragmented, inconsistent)
  • Using go vet alone (limited coverage)
  • Relying solely on code review for catching issues (doesn't scale)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions