+4
日增长
19,533
stars
1,642
forks
104
watchers
4,411
prs
2,008
issues
194
releases
README
golangci-lint Fast linters runner for Go --- golangci-lint is a fast Go linters runner. It runs linters in parallel, uses caching, supports YAML configuration, integrates with all major IDEs, and includes over a hundred linters. Install golangci-lint - On my machine; - On CI/CD systems. Documentation Documentation is hosted at https://golangci-lint.run. Social Networks Support Us golangci-lint is a free and open-source project built by volunteers. If you value it, consider supporting us, we appreciate it! :heart: Badges !Build Status Contributors This project exists thanks to all the people who contribute. How to contribute. Sponsors
Top issues
#1473Add Native Support for Bazel nogo25 comments · 2020-10-27#828Add support for multiple subdirs each with their own go.mod24 comments · 2019-10-20#1658adhere to the widespread comment directive format23 comments · 2021-01-19#5546Significant performance regression since 1.6221 comments · 2025-03-14#3107go-critic/ruleguard: load embedded ruleguard rules: rules/rules.go:13: can't load fmt19 comments · 2022-08-17#1088Error using --new-from-rev in Google Build Cloud15 comments · 2020-05-13#4554Support local .config directory14 comments · 2024-03-20#3983lll: Ignore long URLs, strings, and struct tags14 comments · 2023-08-02
Discussions
#6927Add cwrapmsg linter1 comments · 2026-11-15#6913docs: YAML schema rejects formatter names in severity and issue-exclusion rule2 comments · 2026-11-08#6906Docs: .golangci.reference.yml lists the wrong built-in exclusions for recvcheck1 comments · 2026-11-05#6892add gohawk for resource leaks and concurrency analysis2 comments · 2026-10-25#6886Add txbypass linter1 comments · 2026-10-25#6891Circular linter warnings between errcheck and staticcheck when discarding channel output3 comments · 2026-10-25#6882Publish new version and image with Go 1.27.32 comments · 2026-10-21#6860Add gocondense formatter4 comments · 2026-10-10
Latest release
v2.15.0 v2.15.0 2026-10-16golangci-lint is a free and open-source project built by volunteers. If you value it, consider supporting us, the maintainers and linter authors. We appreciate it! :heart: For key updates, see the changelog. Changelog 36739822be66033e51470c20e355082854479afc build(deps): bump anchore/sbom-action/download-syft from 0.24.2 to 0.24.3 in the github-actions group (6868) 4aa532f4b21cddec2689a9fecc64a8909e54a595 build(deps): bump github.com/breml/bidichk from 0.3.3 to 0.3.4 (6852) cb307f16f1046ce351687b3aee5edd11fdcd7f57 build(deps): bump github.com/golangci/golines from 0.15.0 to 0.16.0 (683