v2.0.0
golangci-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! ❤️
For key updates, see the changelog.
Changelog
- bc96740 build(deps): bump mvdan.cc/unparam to HEAD (#5584)
- 23679e1 feat: new help commands related to formatters (#5517)
- 07e4a33 build(deps): bump github.com/Antonboom/errname from 1.0.0 to 1.1.0 (#5541)
- ddccb04 build(deps): bump github.com/Antonboom/nilnil from 1.0.1 to 1.1.0 (#5560)
- 64c6528 build(deps): bump github.com/Antonboom/testifylint from 1.5.2 to 1.6.0 (#5542)
- c79a93b build(deps): bump github.com/BurntSushi/toml from 1.4.1-0.20240526193622-a339e1f7089c to 1.5.0 (#5577)
- bb4d6b7 build(deps): bump github.com/bombsimon/wsl/v4 from 4.5.0 to 4.6.0 (#5483)
- b882bdd build(deps): bump github.com/breml/bidichk from 0.3.2 to 0.3.3 (#5536)
- dd6cf47 build(deps): bump github.com/breml/errchkjson from 0.4.0 to 0.4.1 (#5537)
- e9bc786 build(deps): bump github.com/catenacyber/perfsprint from 0.8.2 to 0.9.0 (#5481)
- fc87bfb build(deps): bump github.com/catenacyber/perfsprint from 0.9.0 to 0.9.1 (#5538)
- 0748577 build(deps): bump github.com/charmbracelet/lipgloss from 1.0.0 to 1.1.0 (#5556)
- 139ac3a build(deps): bump github.com/ckaznocha/intrange from 0.3.0 to 0.3.1 (#5589)
- 988b38e build(deps): bump github.com/daixiang0/gci from 0.13.5 to 0.13.6 (#5592)
- ca31177 build(deps): bump github.com/ghostiam/protogetter from 0.3.10 to 0.3.12 (#5578)
- d960769 build(deps): bump github.com/ghostiam/protogetter from 0.3.9 to 0.3.10 (#5531)
- 5dfb629 build(deps): bump github.com/go-critic/go-critic from 0.12.0 to 0.13.0 (#5579)
- 161f1c3 build(deps): bump github.com/macabu/inamedparam from 0.1.3 to 0.2.0 (#5554)
- af4b3f8 build(deps): bump github.com/ryancurrah/gomodguard from 1.3.5 to 1.4.1 (#5511)
- 845cf8a build(deps): bump github.com/timakin/bodyclose from ed6a65f985e3 to 1db5c5ca4d67 (#5585)
- e57f2d0 build(deps): bump github.com/xen0n/gosmopolitan from 1.2.2 to 1.3.0 (#5561)
- 1984b05 build(deps): bump the linter-testdata group across 3 directories with 4 updates (#5532)
- 610cc04 feat: add an option to display config path as JSON (#5431)
- df67079 feat: add option stdin for fmt command (#5588)
- a424bbe feat: check version of the configuration (#5524)
- a79eeab feat: configuration options renaming (#5462)
- 18e322e feat: convert comma separated to slices (#5468)
- 4fbd027 feat: detects linters inside formatters (#5544)
- 4d2f4d6 feat: drop v1 compatibility with exclude-dirs-use-default for fmt (#5520)
- b62fb8c feat: error if typecheck is enabled or disabled (#5543)
- feddadf feat: golines formatter (#5432)
- e564cce feat: merge staticcheck, stylecheck, gosimple (#5487)
- 6a37088 feat: migration command (#5506)
- 5a783ba feat: new
fmt
command with dedicated formatter configuration (#5357) - e651eee feat: new default for relative-path-mode to cfg (#5454)
- bed771a feat: new default sort order (#5465)
- 45f39cc feat: new default values (#5470)
- 60ac0dd feat: new linters configuration (#5475)
- 76d896a feat: new output format configuration (#5440)
- 7892153 feat: remove alternative names (#5472)
- 7611c76 feat: remove compatibility layer for formatters configuration (#5446)
- fab6467 feat: remove deprecated elements (#5450)
- 378dfbd feat: remove options (#5464)
- 7bcac43 feat: remove v1 exclusion configuration (#5451)
- fb7cc99 feat: use homogeneous JSON flags (#5522)
- 1400552 fix: formatters shound't be enabled/disabled as linters (#5516)
- 3df32d1 fix: funlen ignore-comments (#5594)
- 3f6f904 fix: improve staticcheck migration (#5545)