Repository navigation
v1.17.0
What's Changed
The documentation website revive.run has been rebuilt with Hugo, replacing the Gatsby site that had served the docs since 2018 (#74). See mgechev/revive.run#89 by @alexandear, closes #1647.
Features
- Add new rule
use-slices-concatby @alexandear in #1804 identical-switch-branches: addallow-identical-defaultoption by @vaibhav8a in #1779unexported-return: do not allow unexported interfaces by @tie in #1458redefines-builtin-id: reportcomparableby @dylanpulver in #1786deep-exit: improve report message by @alexandear in #1802
Important
unexported-return and redefines-builtin-id now report code that previous versions accepted, so existing projects may see new findings after upgrading.
Bug Fixes
redundant-test-main-exit: check only the return fromm.Runby @alexandear in #1803enforce-slice-style: suggest nil expressions by @fzlzjerry in #1790- Keep rule disabled on repeated disable directive by @alexandear in #1796
- Add missed category and
ConfigurableRuleassertion by @alexandear in #1798
Documentation
- Add release strategy by @alexandear in #1801
- Add info about website contribution by @alexandear in #1793
- Add Copilot code review instructions by @alexandear in #1797
- Update GH templates; lint nested md files by @alexandear in #1784
- Update revive docker version by @alexandear in #1782
Dependency Updates
- Update module github.com/golangci/golangci-lint/v2 to v2.13.2 by @renovate[bot] in #1787
- Update module golang.org/x/mod to v0.41.0 by @renovate[bot] in #1788
- Update module golang.org/x/tools to v0.50.0 by @renovate[bot] in #1792
- Update golang docker tag to v1.27.1 by @renovate[bot] in #1791
Chores & Internal
- Check only exported functions by @alexandear in #1795
- Keep only the error-path cases in
ruleby @alexandear in #1794 - Update AGENTS.md with Go version and starring by @alexandear in #1778
New Contributors
- @vaibhav8a made their first contribution in #1779
- @dylanpulver made their first contribution in #1786
- @fzlzjerry made their first contribution in #1790
Full Changelog: v1.16.0...v1.17.0