1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 13:51:48 +00:00

feat: add golangci-lint for Go code quality

- Add .golangci.yml configuration enabling govet, staticcheck, errcheck, gosimple, ineffassign, unused, gofmt, and goimports linters
- Update scripts/check.sh to run golangci-lint with go vet fallback
- Update CI workflow to install golangci-lint in both format and quality jobs
- Add golangci-lint to CONTRIBUTING.md setup instructions

Closes #266
This commit is contained in:
Matt Kneale
2026-01-08 14:28:03 +08:00
committed by Tw93
parent 9a3ecb7377
commit 0cc205209c
4 changed files with 93 additions and 10 deletions

View File

@@ -4,7 +4,7 @@
```bash
# Install development tools
brew install shfmt shellcheck bats-core
brew install shfmt shellcheck bats-core golangci-lint
```
## Development