4.6 KiB
4.6 KiB
Follow the news and releases on our twitter and our blog. There is the most valuable changes log:
June 2019
- 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.
May 2019
- Add bodyclose linter.
- Support junit-xml output.
April 2019
- 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
March 2019
- 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
February 2019
- Implement auto-fixing for
gofmt
,goimports
andmisspell
- Update
unparam
,goimports
,gosec
andgo-critic
- Support
issues.exclude-rules
config option - Add more
identifier
marking patterns - Add code-climate output format
- Fix diff parsing on windows
- Add version information to built artifact for go1.12
- Dockerfile: copy the binary to
/usr/bin/
instead of$GOPATH/bin/
- Support
ignore-words
config option formisspell
- Include
staticcheck
check name into a message - Fix working with symbolic links
January 2019
- Update
megacheck
(staticcheck
),unparam
andgo-critic
to the latest versions. - Support the new
stylecheck
linter. - Support of
enabled-tags
options forgo-critic
. - Make rich debugging for
go-critic
and meticulously validatego-critic
checks config. - Update and use upstream versions of
unparam
andinterfacer
instead of forked ones. - Improve handling of unknown linter names in
//nolint
directives. - Speedup
typecheck
on large project with compilation errors. - Add support for searching for
errcheck
exclude file. - Fix
go-misc
checksum. - Don't crash when staticcheck panics
December 2018
- Update
goimports
: the new version creates named imports for name/path mismatches. - Update
go-critic
to the latest version. - Sync default
go-critic
checks list with thego-critic
. - Support
pre-commit.com
hooks. - Rework and simplify
--skip-dirs
for some edge cases. - Add
modules-download-mode
option: it's useful in CI. - Better validate commands.
- Fix working with absolute paths.
- Fix
errcheck.ignore
option.
November 2018
- Support new linters:
- gocritic
- scopelint
- gochecknointis
- gochecknoglobals
- Update CLA
October 2018
- Update goimports formatting
- Use go/packages
-
A lot of linters became "fast": they are enabled by --fast now and work in 1-2 seconds. Only unparam, interfacer and megacheck are "slow" linters now.
-
Average project is analyzed 20-40% faster than before if all linters are enabled! If we enable all linters except unparam, interfacer and megacheck analysis is 10-20x faster!
-
- Support goimports.local-prefix option for goimports
- Change license from AGPL to GPL
September 2018
- Rename GAS to gosec
- Drop go1.9 support
- Support installation of golangci-lint via go modules
- Update dockerfile to use golang 1.11
- Add support for ignore/exclude flags in errcheck
August 2018
- Improve lll parsing for very long lines
- Update Depguard with a Glob support
- Silent output by default
- Disable GAS (gosec) by default
- Build golangci-lint on go1.11
July 2018
- Add
golangci-lint linters
command - Fix work with symlinks
June 2018
- Add support of the next linters:
- unparam
- misspell
- prealloc
- nakedret
- lll
- depguard
- Smart generated files detector
- Full
//nolint
support - Implement
--skip-files
and--skip-dirs
options - Checkstyle output format support
May 2018
- Support GitHub Releases
- Installation via Homebrew and Docker