Skip to content

refactor: add golangci-lint config and fix unchecked errors#14

Merged
ssmirr merged 2 commits intossmirr:masterfrom
amirhnajafiz:fix/lint-issues
Feb 14, 2026
Merged

refactor: add golangci-lint config and fix unchecked errors#14
ssmirr merged 2 commits intossmirr:masterfrom
amirhnajafiz:fix/lint-issues

Conversation

@amirhnajafiz
Copy link

ChangeLog

  • Added golangci.yaml
  • Fixed its lint issues

Why

  • Enable golangci lint configuration.

amirhnajafiz and others added 2 commits January 31, 2026 13:34
…ecked errors

- Replace wsl_v5 linter with practical linters (errcheck, misspell, goimports)
- Use idiomatic '_ =' patterns instead of nolint comments
- Handle unchecked errors in ryve.go, database.go, geo.go
@ssmirr
Copy link
Owner

ssmirr commented Feb 14, 2026

Thanks for putting this together @amirhnajafiz! I've pushed a commit on top of yours with a few changes:

  • Replaced wsl_v5 with more practical linters (errcheck, misspell, goimports) — wsl was a bit too opinionated for this project and the whitespace rules created more noise than signal
  • Replaced // nolint: errcheck comments with idiomatic _ = patterns
  • Kept the useful error handling you added in database.go and geo.go

Going to squash-merge this now. Appreciate the contribution!

@ssmirr ssmirr changed the title Add/golangci configuration refactor: add golangci-lint config and fix unchecked errors Feb 14, 2026
@ssmirr ssmirr merged commit 27d6c00 into ssmirr:master Feb 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants