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
misspellissues.
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-lintername - 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
--coloroption - 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,goimportsandmisspell - Update
unparam,goimports,gosecandgo-critic - Support
issues.exclude-rulesconfig option - Add more
identifiermarking 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-wordsconfig option formisspell - Include
staticcheckcheck name into a message - Fix working with symbolic links
January 2019
- Update
megacheck(staticcheck),unparamandgo-criticto the latest versions. - Support the new
stylechecklinter. - Support of
enabled-tagsoptions forgo-critic. - Make rich debugging for
go-criticand meticulously validatego-criticchecks config. - Update and use upstream versions of
unparamandinterfacerinstead of forked ones. - Improve handling of unknown linter names in
//nolintdirectives. - Speedup
typecheckon large project with compilation errors. - Add support for searching for
errcheckexclude file. - Fix
go-miscchecksum. - Don't crash when staticcheck panics
December 2018
- Update
goimports: the new version creates named imports for name/path mismatches. - Update
go-criticto the latest version. - Sync default
go-criticchecks list with thego-critic. - Support
pre-commit.comhooks. - Rework and simplify
--skip-dirsfor some edge cases. - Add
modules-download-modeoption: it's useful in CI. - Better validate commands.
- Fix working with absolute paths.
- Fix
errcheck.ignoreoption.
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 linterscommand - Fix work with symlinks
June 2018
- Add support of the next linters:
- unparam
- misspell
- prealloc
- nakedret
- lll
- depguard
- Smart generated files detector
- Full
//nolintsupport - Implement
--skip-filesand--skip-dirsoptions - Checkstyle output format support
May 2018
- Support GitHub Releases
- Installation via Homebrew and Docker