Skip to content

Releases: golangci/golangci-lint

v1.42.0

17 Aug 12:02
c6142e3
Compare
Choose a tag to compare

Changelog

652bd91 Add errname linter (#2129)
c6142e3 Bump staticcheck to 2021.1.1 (v0.2.1) (#2179)
15963ed Revert "add nilassign linter" (#2154)
cc0914f Support RISV64 (#2080)
bbf0450 add nilassign linter (#2131)
ad4f927 build(deps): bump color-string from 1.5.3 to 1.5.5 in /tools (#2081)
4f2c272 build(deps): bump github.com/BurntSushi/toml from 0.3.1 to 0.4.1 (#2165)
879821e build(deps): bump github.com/daixiang0/gci from 0.2.8 to 0.2.9 (#2085)
2758e45 build(deps): bump github.com/gofrs/flock from 0.8.0 to 0.8.1 (#2083)
a3d3ac2 build(deps): bump github.com/ldez/gomoddirectives from 0.2.1 to 0.2.2 (#2125)
38c6baa build(deps): bump github.com/mgechev/revive from 1.0.7 to 1.0.8 (#2086)
d913078 build(deps): bump github.com/mgechev/revive from 1.0.8 to 1.0.9 (#2113)
842e1ec build(deps): bump github.com/mgechev/revive from 1.0.9 to 1.1.0 (#2174)
f285d2c build(deps): bump github.com/nishanths/exhaustive from 0.1.0 to 0.2.3 (#2112)
959d8db build(deps): bump github.com/ryancurrah/gomodguard from 1.2.2 to 1.2.3 (#2155)
8ab80c1 build(deps): bump github.com/securego/gosec/v2 from 2.8.0 to 2.8.1 (#2073)
f090c7b build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.5 to 3.21.6 (#2106)
85f8a60 build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.6 to 3.21.7 (#2153)
f9a31a0 build(deps): bump github.com/spf13/cobra from 1.1.3 to 1.2.1 (#2105)
afb042b build(deps): bump github.com/spf13/viper from 1.7.1 to 1.8.0 (#2072)
5f72314 build(deps): bump github.com/spf13/viper from 1.8.0 to 1.8.1 (#2082)
3799dd0 build(deps): bump github.com/tetafro/godot from 1.4.7 to 1.4.8 (#2123)
c36909d build(deps): bump github.com/tomarrell/wrapcheck/v2 from 2.1.0 to 2.2.0 (#2071)
9e47090 build(deps): bump github.com/uudashr/gocognit from 1.0.1 to 1.0.5 (#2122)
1bb6885 build(deps): bump golang.org/x/tools from 0.1.3 to 0.1.4 (#2084)
511efdb build(deps): bump golang.org/x/tools from 0.1.4 to 0.1.5 (#2124)
141677d build(deps): bump path-parse from 1.0.6 to 1.0.7 in /.github/peril (#2169)
b7384b1 build(deps): bump path-parse from 1.0.6 to 1.0.7 in /tools (#2166)
a6fcf6f cleanup: Remove completion subcommand (#2107)
6c295e4 deps: Update Wrapcheck to v2.3.0 (#2145)
b3f9763 errcheck: allow exclude config without extra file (#2110)
678ae9f gofumpt: Add lang-version option (#2069)
9ce20f9 revive: add enable-all-rules. (#2075)

v1.41.1

19 Jun 16:15
a207480
Compare
Choose a tag to compare

Changelog

6924df8 Bump github.com/ryancurrah/gomodguard from 1.2.1 to 1.2.2 (#2065)
a207480 revive: fix exclude comment rule for const block. (#2064)

v1.41.0

16 Jun 20:12
eed344f
Compare
Choose a tag to compare

Changelog

52b5514 Bump github.com/jgautheron/goconst from 0.5.6 to 0.5.7(#2044)
f900232 Update errorlint to HEAD (#1996)
1c2c8ff Update godot to 1.4.7 (#2010)
5d84fa5 Update makezero to HEAD (#2006)
46009fb Update rowserrcheck to v1.1.0 (#1997)
2dcc761 Update wastedassign to v2.0.6 (#2020)
4c27b33 build(deps): bump actions/cache from 2.1.5 to 2.1.6 (#2023)
4e9866a build(deps): bump github.com/ashanbrown/forbidigo from 1.1.0 to 1.2.0 (#1991)
874304d build(deps): bump github.com/charithe/durationcheck from 0.0.6 to 0.0.7 (#1990)
6a269af build(deps): bump github.com/charithe/durationcheck from 0.0.7 to 0.0.8 (#2052)
4143f57 build(deps): bump github.com/fatih/color from 1.10.0 to 1.11.0 (#1992)
b5d847f build(deps): bump github.com/mgechev/revive from 1.0.6 to 1.0.7 (#2027)
6ffa139 build(deps): bump github.com/securego/gosec/v2 from 2.7.0 to 2.8.0 (#2025)
555cde6 build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.4 to 3.21.5 (#2042)
fe0db3d build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.3.2 to 2.4.0 (#2024)
55133bf build(deps): bump golang.org/x/tools from 0.1.2 to 0.1.3 (#2053)
a68a88e build(deps): bump honnef.co/go/tools from v0.1.4 to v0.2.0 (#2019)
fd6fce9 build(deps): bump ws from 5.2.2 to 5.2.3 in /.github/peril (#2045)
505ed3c doc: Un-deprecate enable-all option. (#2039)
3c795d8 doc: add all integrations to docs introduction page (#2040)
7776b54 gomodguard: fix problem where duplicate issues were being reported (#2018)
6172338 nolintlint: fix false positive. (#2013)
2862ca6 output: generate HTML report (#2043)
eed344f revive: allow to disable rule (#2055)
cf8fd68 revive: fix add-constant rule support. (#2003)
fb7c90d revive: fix excludes (#2005)
62668d4 revive: improve 'exported' rule output. (#1994)
b916c93 staticcheck: configuration for staticcheck, gosimple, stylecheck (#2017)

v1.40.1

14 May 11:59
625445b
Compare
Choose a tag to compare

Changelog

f2ba4bc build(deps): bump hosted-git-info from 2.7.1 to 2.8.9 in /tools (#1968)
ce67262 build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /.github/peril (#1966)
b282d30 build(deps): bump lodash from 4.17.19 to 4.17.21 in /tools (#1964)
3aeafb8 build(deps): bump lodash from 4.17.20 to 4.17.21 in /.github/peril (#1967)
47baa2c doc: fix example config yaml identation (#1976)
f95b1ed golint: deprecation (#1965)
589c49e govet: fix sigchanyzer (#1975)
625445b runner: non-zero exit code when a linter produces a panic (#1979)

v1.40.0

10 May 10:58
5c6adb6
Compare
Choose a tag to compare

Changelog

6844f6a Add promlinter to lint metrics name (#1265)
93df6f7 Add tagliatelle linter (#1906)
c5891c0 Bump importas to HEAD (#1899)
c213e4e Bump wastedassign to v1.0.0 (#1955)
92fda26 Update Wrapcheck to v2, add configuration (#1947)
a7865d2 Update errorlint to HEAD (#1933)
ffe8061 Update importas to HEAD (#1934)
12e3251 Update wrapcheck to v1.2.0 (#1927)
d6bcf9f Update wsl to 3.3.0, sort config in example config (#1922)
53a4b41 build(deps): bump actions/cache from v2.1.4 to v2.1.5 (#1918)
d252670 build(deps): bump emotion-theming from 10.0.27 to 11.0.0 in /docs . (#1623)
5baff12 build(deps): bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.1 (#1877)
0f3f9ef build(deps): bump github.com/mgechev/revive from 1.0.5 to 1.0.6 (#1908)
7ee6e4d build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.2 to 3.21.3 (#1890)
f1ca682 build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.3 to 3.21.4 (#1951)
9e11a08 build(deps): bump github.com/tetafro/godot from 1.4.4 to 1.4.5 (#1907)
54bfbb9 build(deps): bump github.com/tetafro/godot from 1.4.5 to 1.4.6 (#1935)
42cc784 build(deps): bump github.com/tomarrell/wrapcheck from 1.0.0 to 1.1.0 (#1891)
2c00832 build(deps): bump github.com/tommy-muehle/go-mnd/v2 from 2.3.1 to 2.3.2 (#1919)
c9ec73f build(deps): bump golangci/golangci-lint-action from v2.5.1 to v2.5.2 (#1889)
96a7f62 build(deps): bump honnef.co/go/tools from 0.1.3 to 0.1.4 (#1952)
07ae877 build(deps): bump y18n from 4.0.0 to 4.0.1 in /.github/peril (#1879)
c610079 feat: set the minimum Go version to go1.15 (#1926)
1fb67fe fix release stats badge (#1901)
9cb902c fix: comma in exclude pattern leads to unexpected results (#1917)
8f3ad45 gosec: add configuration (#1930)
cd9d8bb govet: Update vet passes (#1950)
07a0568 importas: add message if settings contain no aliases (#1956)
5c6adb6 importas: allow repeated aliases (#1960)
34ffdc2 revive: convert hard coded excludes into default exclude patterns (#1938)
12ed5fa staticcheck: configurable Go version. (#1946)
a833cc1 typecheck: improve error stack parsing. (#1886)
8da9d3a update go-critic to v0.5.6 (#1925)

v1.39.0

26 Mar 08:13
9aea4ae
Compare
Choose a tag to compare

Changelog

94d2d80 Add gomoddirectives linter. (#1817)
b6a6faa Add new presets (#1847)
8db518c Add versions, improve deprecation system, improve linters page (#1854)
4bc68c0 Bump gofumpt from v0.1.0 to v0.1.1 (#1834)
82778e2 Bump importas to HEAD (#1864)
fb394a9 Bump makezero to HEAD (#1865)
e381b33 Bump rowserrcheck to HEAD (#1843)
8d0075d Bump staticcheck to 2020.2.3 (v0.1.3) (#1829)
03992d0 Bump wrapcheck to v1.0.0 (#1863)
fce3949 Deprecate 'scopelint' linter (#1819)
2e5e887 Improve issue templates chooser. (#1821)
87d37c6 Restore fast linters meaning (#1844)
814bf0e Set version command output to Stdout (#1869)
ba6e969 build(deps): bump github.com/go-critic/go-critic from 0.5.4 to 0.5.5 (#1867)
e23f80e build(deps): bump github.com/mgechev/revive from 1.0.3 to 1.0.5 (#1866)
714bd28 build(deps): bump github.com/securego/gosec/v2 from 2.6.1 to 2.7.0 (#1823)
c11228b build(deps): bump github.com/shirou/gopsutil/v3 from 3.21.1 to 3.21.2 (#1822)
cd2025d build(deps): bump github.com/sirupsen/logrus from 1.8.0 to 1.8.1 (#1845)
7a612da bump ifshort to v1.0.2 (#1837)
351f57b bump wastedassign to v0.2.0 (#1815)
809be02 fix: linters load mode (#1862)
e1a734e nolintlint: allow to fix //nolint lines (#1583)
cd6644d revive: the default configuration is only applied when no dedicated configuration. (#1831)
9aea4ae typecheck: display compilation errors as report instead of error (#1861)

v1.38.0

03 Mar 14:02
507703b
Compare
Choose a tag to compare

Changelog

5698d46 Add ForceTypeAssert linter (#1789)
012559c Add linter wastedassign (#1651)
66fc779 Add nilerr linter. (#1788)
f00da2c Add stringintconv and ifaceassert to govet (#1360)
a1e3749 Bump github.com/Djarvur/go-err113 to HEAD (#1760)
495a74f Bump github.com/timakin/bodyclose to HEAD (#1758)
b7aac3b Bump wsl to v3.2.0 (#1750)
251b205 Deprecate Interfacer linter (#1755)
42ff682 Deprecate maligned, add govet fieldalignment as replacement (#1765)
92d38e5 Exclude PR about doc dependencies from release changelog. (#1752)
89315e0 Fix go-header usage (#1785)
05836e4 Integrate ImportAs linter (#1783)
cdaf03d Remove outdated CVEs from .nancy-ignore (#1791)
856ffd1 Support RelatedInformation for analysis Diagnostic (#1773)
507703b Update Docs and Assets Github Actions (#1460)
5dcc3ea Update dependencies that dependabot cannot (#1790)
2e7c389 Update staticcheck to v0.1.2 (2020.2.2) (#1756)
b77118f Use errcheck from main repo instead of golangci-lint fork (#1319)
1a906bc Use go v1.14 in go.mod file (#1803)
34e46c7 Using a version instead of commit id for goconst (#1786)
747e3ae add doc for the profiling arguments (#1761)
dac2059 build(deps): bump github.com/kulti/thelper from 0.3.1 to 0.4.0 (#1764)
326d715 build(deps): bump github.com/sirupsen/logrus from 1.7.0 to 1.8.0 (#1763)
067cfac build(deps): bump golangci/golangci-lint-action from v2.4.0 to v2.5.1 (#1798)
d6db13d build(deps): bump sonatype-nexus-community/nancy-github-action (#1762)
2880d89 bump durationcheck from 0.0.4 to 0.0.6 (#1757)
5ca2973 fix: use same default linter as go vet. (#1793)
eefb974 ineffassign: use upstrea instead of golangci fork (#1780)
b407bb8 revive: add rule name in message. (#1772)

v1.37.1

20 Feb 11:58
b39dbcd
Compare
Choose a tag to compare

Changelog

9c47715 Update doc for v1.37.0 (#1742)
32e8517 cyclop: add missing settings (#1743)
b39dbcd durationcheck: False positive when multiplying with int type struct field (#1744)
ea5f479 exhaustivestruct: add missing settings (#1746)
4b3fb4c revive: fix types and default configuration. (#1747)

v1.37.0

17 Feb 09:41
34e5fc6
Compare
Choose a tag to compare

Changelog

89367ae Add "exclude" option for godot linter (#1669)
35b6f35 Add "revive" linter (#1729)
123da8e Add go1.16 support (#1740)
3ef13a8 Add plugin option for Goland (#1720)
6038573 Compile binaries with -trimpath enabled (#1688)
9e0c9f3 Expose more config options for forbidigo (#1677)
443e5b6 Print error message and exit with non-zero status when ruleguard parse error occurs (#1666)
af6842c Remove gometalinter comparison (#1731)
5d75889 Update docs for v1.36.0 (#1668)
0a474a2 Update ifshort to v1.0.1 (#1671)
34e5fc6 Use upstream gocyclo. (#1739)
2121370 add 'cyclop' linter (#1738)
7dc0f31 build(deps): bump actions/cache from v2 to v2.1.4 (#1721)
cb02849 build(deps): bump gatsby from 2.29.3 to 2.32.3 in /docs (#1716)
683dbea build(deps): bump gatsby-plugin-canonical-urls in /docs (#1713)
db8ebb2 build(deps): bump gatsby-plugin-catch-links in /docs (#1710)
28058d6 build(deps): bump gatsby-plugin-google-analytics in /docs (#1715)
2ec034d build(deps): bump gatsby-plugin-manifest from 2.9.1 to 2.12.0 in /docs (#1704)
32c44df build(deps): bump gatsby-plugin-mdx from 1.7.1 to 1.10.0 in /docs (#1706)
c3eb769 build(deps): bump gatsby-plugin-netlify from 2.8.0 to 2.11.0 in /docs (#1700)
ea76542 build(deps): bump gatsby-plugin-offline from 3.7.1 to 3.10.0 in /docs (#1701)
dfa7ab5 build(deps): bump gatsby-plugin-react-helmet in /docs (#1709)
2982b13 build(deps): bump gatsby-plugin-sharp from 2.11.2 to 2.14.1 in /docs (#1699)
eb32694 build(deps): bump gatsby-plugin-sitemap from 2.9.0 to 2.12.0 in /docs (#1703)
3248752 build(deps): bump gatsby-remark-autolink-headers in /docs (#1674)
8ff2b39 build(deps): bump gatsby-remark-autolink-headers in /docs (#1711)
2c1dbb9 build(deps): bump gatsby-remark-copy-linked-files in /docs (#1705)
8deb0ca build(deps): bump gatsby-remark-images from 3.8.1 to 3.11.0 in /docs (#1702)
3505128 build(deps): bump gatsby-remark-responsive-iframe in /docs (#1698)
3790d44 build(deps): bump gatsby-source-filesystem from 2.8.1 to 2.11.0 in /docs (#1714)
aafdee8 build(deps): bump gatsby-transformer-remark in /docs (#1719)
6c1c9cc build(deps): bump gatsby-transformer-sharp from 2.9.0 to 2.11.0 in /docs (#1673)
8bfdb1f build(deps): bump gatsby-transformer-sharp in /docs (#1712)
2040207 build(deps): bump gatsby-transformer-yaml from 2.8.0 to 2.11.0 in /docs (#1718)
3096f8a build(deps): bump github.com/ashanbrown/forbidigo from 1.0.0 to 1.1.0 (#1678)
ed9480c build(deps): bump github.com/kulti/thelper from 0.3.0 to 0.3.1 (#1722)
5694c50 build(deps): bump github.com/mbilski/exhaustivestruct from 1.1.0 to 1.2.0 (#1680)
4dc0dc3 build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3 (#1736)
55eed96 build(deps): bump github.com/tetafro/godot from 1.4.3 to 1.4.4 (#1679)
80ebe52 build(deps): bump golangci/golangci-lint-action from v2.3.0 to v2.4.0 (#1735)
98a9b02 build(deps): bump polished from 4.0.5 to 4.1.0 in /docs (#1708)
37f3b00 build(deps): bump puppeteer from 5.5.0 to 7.0.1 in /docs (#1707)
0c28299 build(deps): bump react-icons from 4.1.0 to 4.2.0 in /docs (#1717)
cc152be bump thelper linter version to v0.3.0 (#1696)
65369cb docs(clean): replace govet example with nakedret. (#1647)
b0b2dc6 feat: add durationcheck linter. (#1734)
1f79767 fix MIPS release (#1697)
000a815 fix(cmd/linters): truncate multiline descriptions (#1663)
60455b5 fix: add missing ifshort configuration. (#1672)
ce2e778 fix: new-from-rev for large repository. (#1723)
1b30a17 fix: wrong load mode (#1733)
2a5b42c prealloc: Use upstream version (#1694)
839dd74 rowserrcheck: fix reports false positive (#1670)

v1.36.0

26 Jan 13:21
6c25d06
Compare
Choose a tag to compare

Changelog

750309d Add ifshort linter (#1587)
257eb95 Add issues.fix config to example configuration. (#1648)
638b070 Update docs for v1.35.2 (#1643)
ec46f42 Verify linter name in integration tests (#1595)
ea41793 build(deps): bump github.com/securego/gosec/v2 from 2.5.0 to 2.6.1 (#1665)
f049bfc build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#1654)
4f648a7 build(deps): bump github.com/tetafro/godot from 1.3.2 to 1.4.3 (#1664)
6c25d06 fix: bump github.com/tommy-muehle/go-mnd/v2 to v2.3.1 (#1667)