Follow the news and releases on our twitter and our blog. There is the most valuable changes log:
- update exhaustive linter (#1339)
- new
nlreturn
linter: https://github.com/ssgreg/nlreturn - new
gci
linter: https://github.com/daixiang0/gci - support
latest
version of golangci-lint in golangci-lint-action - update
gosec
linter from 2.3.0 to 2.4.0 - update
godot
linter from 0.4.2 to 0.4.8 - update
go-critic
from 0.5.0 to 0.5.2 (#1307) - update
nlreturn
from 2.0.1 to 2.0.2 (#1287), 2.0.2 to 2.1.0 (#1327) - update
gci
to v0.2.1 (#1292), to v0.2.2 (#1305), to v0.2.4 (#1337), - update
funlen
from 0.0.2 to 0.0.3 (#1341) - upgrade to golang 1.15 for smaller binary (#1303)
- support short and json formats for version cmd (#1315)
- add home directory to config file search paths (#1325)
- allow for serializing multiple golangci-lint invocations (#1302)
gofumpt
linter:- update linter
- add
extra-rules
option - support auto-fixing
- upgrade
exhaustive
linter - upgrade
exportloopref
linter - improve 'no such linter' error message
- sorting result.Issues implementation
- enhancements in CI:
- Run
nancy
validation for all dependencies - Move dependabot config to
.github
folder
- Run
- other
- bump
lodash
from 4.17.15 to 4.17.19 in /tools - bump
golangci/golangci-lint-action
from v1.2.2 to v2 - bump
github.com/valyala/quicktemplate
from 1.5.0 to 1.5.1
- bump
- Add new linters:
gofumpt
- Add new linters:
nolintlint
,goerr113
- Updated linters:
godot
,staticcheck
- Launch a website
- Add new linters:
testpackage
,nestif
,godot
,gomodguard
,asciicheck
- Add github actions output format
- Update linters:
wsl
,gomodguard
,gosec
- Support
disabled-tags
setting forgocritic
- Mitigate OOM and "failed prerequisites"
- Self-isolate due to unexpected pandemics
- Support case-sensitive excludes
- Allow granular re-enabling excludes by ID, e.g.
EXC0002
- Support go1.13
- Add new linters:
funlen
,whitespace
(with auto-fix) andgodox
- Update linters:
gochecknoglobals
,scopelint
,gosec
- Provide pre-built binary for ARM and FreeBSD
-
- Fix false-positives in
unused
- Fix false-positives in
- Support
--skip-dirs-use-default
- Add support for bash completions
- Fix parallel writes race condition
- Update bodyclose with fixed panic
- Treat Go source files as a plain text by
misspell
: it allows detecting issues in strings, variable names, etc. - Implement richer and more stable auto-fix of
misspell
issues.
- Add bodyclose linter.
- Support junit-xml output.
- Update go-critic, new checkers were added: badCall, dupImports, evalOrder, newDeref
- Fix staticcheck panic on packages that do not compile
- Make install script work on Windows
- Fix compatibility with the latest x/tools version and update golang.org/x/tools
- Correct import path of module sourcegraph/go-diff
- Fix
max-issues-per-linter
name - Fix linting of preprocessed files (e.g.
*.qtpl.go
, goyacc) - Enable auto-fixing when running via pre-commit
- Support the newest
go vet
(withgo/analysis
) - Support configuration of
go vet
: e.g. you can set print functions bylinters-settings.govet.settings.printf.funcs
- Update megacheck (staticcheck) to 2019.1.1
- Add information about controlling space-time trade-off into README
- Exclude issues by source code line regexp by
issues.exclude-rules[i].source
- Build and test on go 1.12
- Support
--color
option - Update x/tools to fix c++ issues
- Include support for log level
- Sort linters list in help commands