Skip to content

Releases: golangci/golangci-lint

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)

v1.35.2

11 Jan 03:02
1da5701
Compare
Choose a tag to compare

Changelog

b208d94 Update docs for v1.35.1 (#1641)
1da5701 fix: gci init (#1642)

v1.35.1

11 Jan 00:36
44bf197
Compare
Choose a tag to compare

Changelog

a65f15f Update docs for v1.35.0 release. (#1638)
e5a395b Update mvdan.cc/gofumpt to v0.1.0 (#1637)
44bf197 fix regression: update thelper to v0.2.1 (#1639)

v1.35.0

08 Jan 02:19
1e5ba1e
Compare
Choose a tag to compare

Changelog

b3491fd Update docs for v1.34.1 release (#1591)
62710a8 Validate gocritic settings. Return error if settings includes a unsupported gocritic checker (#1563)
76c4521 add 'predeclared' linter (#1606)
c0ad76f build(deps): bump @emotion/core from 10.0.35 to 10.1.1 in /docs (#1625)
5521750 build(deps): bump @mdx-js/mdx from 1.6.18 to 1.6.22 in /docs (#1624)
75a29b7 build(deps): bump gatsby from 2.29.2 to 2.29.3 in /docs (#1627)
8a87f77 build(deps): bump gatsby-plugin-canonical-urls in /docs (#1619)
da67d3e build(deps): bump gatsby-plugin-catch-links in /docs (#1603)
7b070ed build(deps): bump gatsby-plugin-google-analytics in /docs (#1604)
4bdd488 build(deps): bump gatsby-plugin-manifest from 2.4.27 to 2.9.1 in /docs (#1607)
04b4943 build(deps): bump gatsby-plugin-mdx from 1.2.43 to 1.7.1 in /docs (#1615)
cfbbead build(deps): bump gatsby-plugin-netlify from 2.3.13 to 2.8.0 in /docs (#1628)
81bf16c build(deps): bump gatsby-plugin-offline from 3.2.27 to 3.7.1 in /docs (#1613)
4adc65e build(deps): bump gatsby-plugin-react-helmet in /docs (#1621)
c7f10f4 build(deps): bump gatsby-plugin-sharp from 2.6.40 to 2.11.2 in /docs (#1609)
986732a build(deps): bump gatsby-plugin-sitemap from 2.4.14 to 2.9.0 in /docs (#1605)
8fa1ae3 build(deps): bump gatsby-remark-autolink-headers in /docs (#1611)
a39435d build(deps): bump gatsby-remark-copy-linked-files in /docs (#1620)
a4050b3 build(deps): bump gatsby-remark-embedder from 4.0.0 to 4.1.0 in /docs (#1616)
da560fe build(deps): bump gatsby-remark-images from 3.6.0 to 3.8.1 in /docs (#1601)
9959e5f build(deps): bump gatsby-remark-responsive-iframe in /docs (#1610)
571a477 build(deps): bump gatsby-source-filesystem from 2.3.30 to 2.8.1 in /docs (#1617)
e84a8d0 build(deps): bump gatsby-transformer-remark in /docs (#1612)
b45dffa build(deps): bump gatsby-transformer-sharp from 2.5.15 to 2.9.0 in /docs (#1608)
fdb4e86 build(deps): bump gatsby-transformer-yaml from 2.4.11 to 2.8.0 in /docs (#1622)
5c9e386 build(deps): bump github.com/go-critic/go-critic from 0.5.2 to 0.5.3 (#1631)
1221939 build(deps): bump github.com/kulti/thelper from 0.1.0 to 0.2.0 (#1630)
eb28c6a build(deps): bump polished from 4.0.3 to 4.0.5 in /docs (#1602)
a64afd8 build(deps): bump puppeteer from 5.4.1 to 5.5.0 in /docs (#1614)
aa6b9fa build(deps): bump react-dom from 16.13.1 to 16.14.0 in /docs (#1618)
13698dc build(deps): bump react-headroom from 3.0.1 to 3.1.0 in /docs (#1629)
90a6919 build(deps): bump react-icons from 3.11.0 to 4.1.0 in /docs (#1626)
1e5ba1e fix: modules-download-mode support (#1593)

v1.34.1

29 Dec 06:28
d7dd233
Compare
Choose a tag to compare

Changelog

750b4ba Fix forbidigo linter name in reports (#1590)
64d823c Update assets for v1.34.0 (#1588)
d7dd233 build(deps): bump react from 16.13.1 to 16.14.0 in /docs (#1481)

v1.34.0

28 Dec 16:29
260dc80
Compare
Choose a tag to compare

Changelog

222076f Add forbidigo linter (#1569)
cf32a7b Add makezero linter (#1520)
87cdb2d Add settings examples for gocritic (#1562)
0370d3a Add thelper linter (#1541)
fc1a826 Bump go-errorlint to latest (#1527)
f7a0c3c Bump go-errorlint to latest (#1529)
85049e5 Bump go-header to v0.4.1 (#1578)
260dc80 Bump go-header to v0.4.2 (#1585)
91e7331 CVE-2020-14040: v0.3.3 golang.org/x/text (#1293)
d327987 Cobra.Command.SetOutput is depracated (#1554)
164cfab Removing reference to no-longer-existing linter-in-the-cloud (#1553)
306816e Revert "Update nolintlint to fix nolint formatting and remove unused nolint statements (#1573)" (#1584)
aeb9830 Update nolintlint to fix nolint formatting and remove unused nolint statements (#1573)
5faa0cf build(deps): bump gatsby-remark-images from 3.3.29 to 3.6.0 in /docs (#1531)
6a9975f build(deps): bump gatsby-remark-responsive-iframe in /docs (#1533)
21be7d2 build(deps): bump github.com/daixiang0/gci from 0.2.4 to 0.2.7 (#1521)
f8418b1 build(deps): bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 (#1528)
92d94ff build(deps): bump ini from 1.3.5 to 1.3.8 in /tools (#1560)
304d4a7 build(deps): bump react-headroom from 3.0.0 to 3.0.1 in /docs (#1532)
15b5289 build(deps): bump react-live from 2.2.2 to 2.2.3 in /docs (#1534)
10c786e chore: update gofumpt. (#1548)
e26630a deps: Bump github.com/tommy-muehle/go-mnd@v2.2.0 (#1558)
be02979 fix: nolintlint comment analysis. (#1571)
b79e0c5 fix: throw an error on panic. (#1540)
af0dd77 fix: update github.com/tetafro/godot to v1.3.2 (#1536)
a893212 gomodguard: updated for new features and fixes (#1567)
df9278e resolve custom linters' path relative to config file directory (#1572)
33fe87b result/processors: treat all non-Go source as special autogenerated files
626bacf updated-repo-after-release (#1526)