Skip to content

Releases: golangci/golangci-lint

v1.20.1

15 Oct 19:20
849044b
Compare
Choose a tag to compare

Changelog

27c8be0 deadline is now deprecated, but should be taking its value from the configuration if set (#822)
849044b just hide --deadline, don't deprecate

Docker images

  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.20.1
  • docker pull golangci/golangci-lint:v1.20
  • docker pull golangci/golangci-lint:latest-alpine
  • docker pull golangci/golangci-lint:v1.20.1-alpine
  • docker pull golangci/golangci-lint:v1.20-alpine

v1.20.0

08 Oct 18:38
Compare
Choose a tag to compare

Changelog

Linters Updates

ee2e17f Update to latest securego/gosec (#792)
6cc10f0 Update to latest timakin/bodyclose. (#751)
baff4ab Update to matoous/godox v1.0.
fbbd245 Update whitespace to v0.0.4 (#786)
bbb0e6b update bodyclose

New Linters

3e09174 Add WSL linter (#771)
92ec1a1 Add gocognit linter (#756)
7e09842 govet: add more analyzers

Performance Optimization

95ec0cf dramatically reduce memory usage (#758)
df4f676 reduce 1.5x memory usage on large repos on repeated runs (#764)

Other

605c9c2 Add Alpine Linux images (#745)
2864c21 Add ppc64le release. (#790)
db20cd0 Add s390x release.
5e54b33 Add version command to print golangci-lint version
39d7929 Improve the error output from goimports
8e0197e Reduce cache directory permissions. (#788)
0cc87df Rename deadline option to timeout and mark deadline as deprecated. (#793)

Docker images

  • docker pull golangci/golangci-lint:latest-alpine
  • docker pull golangci/golangci-lint:v1.20.0-alpine
  • docker pull golangci/golangci-lint:v1.20-alpine
  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.20.0
  • docker pull golangci/golangci-lint:v1.20

v1.19.1

25 Sep 14:38
Compare
Choose a tag to compare

Changelog

abad4c9 Cleanup obsolete go.mod/go.sum diff. (#729)
a2b2c7a Fix #733: update forked bodyclose
c427c61 Use separate go.mod/go.sum to manage tool deps. (#736)
a16b4d8 Use stretchr/testify to mock log.

Docker images

  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.19.1
  • docker pull golangci/golangci-lint:v1.19

v1.19.0

23 Sep 20:41
Compare
Choose a tag to compare

Changelog

New Linters

92168d0 Add dogsled linter. (#705)
c7dee2c Add whitespace linter (#673)
5884581 linters: add Godox linter support (#621)

Linters Updates

6a979fb Update staticcheck and cache go/analysis facts (#699)
9976bdc Update whitespace
94eaa8f update go-critic (#679)
bf67a3e update gosec (#681)
b083358 update scopelint (#680)
9161de5 Upgrade depguard to fix performance issue with go modules (#698)

Performance Optimization

2fc8b7b Drop memory usage of go/analysis linters 5x
3aade55 Reduce memory usage of go/analysis
c9a9255 Speed up packages loading (#693)
fc8d614 speedup skip-dirs processing by caching

Other

f1c1dbf Feature/enable autofix on whitespace (#674)
f3f5dfc govet: implement analyzers config (#697)
c215cff Add bash completion to homebrew formula (#676)
4e439b4 Fix #608: use forked bodyclose
4495f89 Log go/analysis panics, don't crash
6ec8ff2 Update Dockerfile to Go 1.13. (#695)

Docker images

  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.19.0
  • docker pull golangci/golangci-lint:v1.19

v1.18.0

10 Sep 09:42
31afdf8
Compare
Choose a tag to compare

Changelog

bb82273 Add funlen linter (#603)
91e90eb Add support for bash completions (#640)
a8f2c27 Add user supplied error messages in depguard issues (#662)
f84095a Build FreeBSD binaries (#613)
e87a1cf Fix a false-positive from 'unused' (#585)
338e3fb Fix install script on Windows (#626)
0b49095 Make generation of demo.svg deterministic (#625)
eabe43a Provide pre-built binary for ARM arch (#607)
375a5a8 Speed up linting: use deduplicated packages (#667)
6163a8a Support go1.13 (#670)
e1a7422 Update gochecknoglobals to support version exception (#601)
f8a5a8c Update depguard version to 1.0.0 (Performance improvements)
97fcafd Update format of junit xml output to mark failures as such (#632)
22d1ef6 Update pkg/errors to v0.8.1.
4ed1349 add kubeedge (#636)
d2b1eea bodyclose: fix race condition
f312a0f fix #416: Add skip-dirs-use-default (#630)
c5b0f95 fix cuncurrent [read/]write panic
cdeefb5 fix invalid dependencies (#605)
e175825 fix possible race in line cache
7e170af fix: body close panic.
136b271 update bodyclose: use upstream version (#666)
e39e8fb update x/tools

Docker images

  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.18.0
  • docker pull golangci/golangci-lint:v1.18

v1.17.1

10 Jun 09:10
Compare
Choose a tag to compare

Changelog

d7ea266 Fix minor grammatical error. Fixes #556.
7274db7 fix #479: update go-critic to fix deps
4ba2155 fix #529: exit with code 7 when error was logged
b0281e8 update ineffassign

Docker images

  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.17.1
  • docker pull golangci/golangci-lint:v1.17

v1.17.0

09 Jun 17:51
Compare
Choose a tag to compare

Changelog

72e137e Added "bodyclose" support
cc84f89 Correct import path of module sourcegraph/go-diff
09677d5 Enable auto-fixing when running via pre-commit
ec5bf9b Fix linting of goyacc files
ed0b551 Fix linting of preprocessed files
2f5f082 Fix max-issues-per-linter
39f46be Fix staticcheck panic on packages that do not compile
778888a Make install script work on Windows.
2508856 Makefile: Be clear about exactly which files are generated, and how
9ce3372 Makefile: Set GO111MODULE=on for consistency, adjust tests accordingly
88af709 Typo GOCC to GOGC
692dacb Update go-critic
6508d16 fix #513: don't add gofmt "with -s" if not needed
3d78f64 fix #522: run misspell in text mode
9d8eb16 fix after #533: fix comment and goimports
7f91ce8 fix conflict in go.mod after merging #555
d7a38bb go.mod: Roll back to golang/mock 1.0.0
5c86bfc junit-xml output
de1d1ad make use of LoadAllSyntax compatible with the latest x/tools version
127f89f update golang.org/x/tools
e925b8f update golangci version references in the documentation

Docker images

  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.17.0
  • docker pull golangci/golangci-lint:v1.17

v1.16.0

31 Mar 19:52
97ea1cb
Compare
Choose a tag to compare

Changelog

c41b1e2 Add --color flag to force colored output on/off
c55a62a Add Go1.12 to TravisCI
f516771 Fix #415: sort linters list in help commands
7514bf8 Fix AST cache key consistency.
099f2ae Include log level option
8319caf Makefile: Add target build
3d2dfac Support excluding issues by source line regexp
cad10b2 Update go version to 1.12 in Dockerfile
0fdd91d Update golang.org/x/tools package to fix false IllTyped error
2c69ef2 Update megacheck (staticcheck) to 2019.1.1
8c1237b Use the newest go vet
d278457 add LICENSE for x/tools
be0679e build on go 1.12 and fix go 1.11 compatibility
926e99a copy go/analysis internal/checker into the project as is
a5c44d2 go1.11 compatibility fixed
407c3f0 go1.12: add nolint for gochecknoinits in mod_version.go
466006b go1.12: migrate from perl GOROOT/test/errcheck
7289a90 modify goanalysis

Docker images

  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.16.0
  • docker pull golangci/golangci-lint:v1.16

v1.15.0

18 Feb 08:26
Compare
Choose a tag to compare

Changelog

d437ac8 Implement auto-fixing for gofmt,goimports,misspell
a3a0455 add support for exclude rules
ebadb7a Fix #384: support ignore-words option for misspell
307c287 Fix #388: include staticcheck check name into a message

b607ea3 #392: run GO111MODULE=on go mod vendor after go-diff update
1eb7125 Add version information to built artifact when go get with go1.12
f7d2e92 Dockerfile: copy the binary to /bin/ instead of $GOPATH/bin/
08574bf Update sourcegraph go-diff
edd055f config: add validation for exclude rules
25a630d docker: install golangci-lint into /usr/bin
96af958 fix #383: eval symlinks in AST cache
30bfd60 improve tests for exclude rules
e672537 remove obvious TODO about concurrent exclude rule processing

Docker images

  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.15.0
  • docker pull golangci/golangci-lint:v1.15

v1.14.0

11 Feb 07:02
6c4d290
Compare
Choose a tag to compare

Changelog

aa26b37 Add 'segmentio/terraform-docs' to list of great projects.
b3bad28 Fix #382: make go-critic example config valid
81cf487 Fix #387: update goimports
9916a2f Relates #367: update unparam
c1085ef Relates #381, #367: cleanup docs and warn if unparam algo was configured
186fe37 add code-climate output format
6c4d290 add gosec files
01fb823 unparam: update unparam, and go mod vendor
b31cfd6 update go-critic
7c49721 update gochecknoglobals
183765e update gosec

Docker images

  • docker pull golangci/golangci-lint:latest
  • docker pull golangci/golangci-lint:v1.14.0
  • docker pull golangci/golangci-lint:v1.14