@@ -558,144 +558,7 @@ Thanks to developers and authors of used linters:
558
558
559
559
## Changelog
560
560
561
- Follow the news and releases on our [ twitter] ( https://twitter.com/golangci ) and our [ blog] ( https://medium.com/golangci ) .
562
- There is the most valuable changes log:
563
-
564
- ### June 2019
565
-
566
- 1 . treat Go source files as a plain text by ` misspell ` : it allows detecting issues in strings, variable names, etc.
567
- 2 . implement richer and more stable auto-fix of ` misspell ` issues.
568
-
569
- ### May 2019
570
-
571
- 1 . Add [ bodyclose] ( https://github.com/timakin/bodyclose ) linter.
572
- 2 . Support junit-xml output.
573
-
574
- ### April 2019
575
-
576
- 1 . Update go-critic, new checkers were added: badCall, dupImports, evalOrder, newDeref
577
- 2 . Fix staticcheck panic on packages that do not compile
578
- 3 . Make install script work on Windows
579
- 4 . Fix compatibility with the latest x/tools version and update golang.org/x/tools
580
- 5 . Correct import path of module sourcegraph/go-diff
581
- 6 . Fix ` max-issues-per-linter ` name
582
- 7 . Fix linting of preprocessed files (e.g. ` *.qtpl.go ` , goyacc)
583
- 8 . Enable auto-fixing when running via pre-commit
584
-
585
- ### March 2019
586
-
587
- 1 . Support the newest ` go vet ` (with ` go/analysis ` )
588
- 2 . Support configuration of ` go vet ` : e.g. you can set print functions by ` linters-settings.govet.settings.printf.funcs `
589
- 3 . Update megacheck (staticcheck) to 2019.1.1
590
- 4 . Add [ information] ( https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint ) about controlling space-time trade-off into README
591
- 5 . Exclude issues by source code line regexp by ` issues.exclude-rules[i].source `
592
- 6 . Build and test on go 1.12
593
- 7 . Support ` --color ` option
594
- 8 . Update x/tools to fix c++ issues
595
- 9 . Include support for log level
596
- 10 . Sort linters list in help commands
597
-
598
- ### February 2019
599
-
600
- 1 . Implement auto-fixing for ` gofmt ` , ` goimports ` and ` misspell `
601
- 2 . Update ` unparam ` , ` goimports ` , ` gosec ` and ` go-critic `
602
- 3 . Support ` issues.exclude-rules ` config option
603
- 4 . Add more ` identifier ` marking patterns
604
- 5 . Add code-climate output format
605
- 6 . Fix diff parsing on windows
606
- 7 . Add version information to built artifact for go1.12
607
- 8 . Dockerfile: copy the binary to ` /usr/bin/ ` instead of ` $GOPATH/bin/ `
608
- 9 . Support ` ignore-words ` config option for ` misspell `
609
- 10 . Include ` staticcheck ` check name into a message
610
- 11 . Fix working with symbolic links
611
-
612
- ### January 2019
613
-
614
- 1 . Update ` megacheck ` (` staticcheck ` ), ` unparam ` and ` go-critic ` to the latest versions.
615
- 2 . Support the new ` stylecheck ` linter.
616
- 3 . Support of ` enabled-tags ` options for ` go-critic ` .
617
- 4 . Make rich debugging for ` go-critic ` and meticulously validate ` go-critic ` checks config.
618
- 5 . Update and use upstream versions of ` unparam ` and ` interfacer ` instead of forked ones.
619
- 6 . Improve handling of unknown linter names in ` //nolint ` directives.
620
- 7 . Speedup ` typecheck ` on large project with compilation errors.
621
- 8 . Add support for searching for ` errcheck ` exclude file.
622
- 9 . Fix ` go-misc ` checksum.
623
- 10 . Don't crash when staticcheck panics
624
-
625
- ### December 2018
626
-
627
- 1 . Update ` goimports ` : the new version creates named imports for name/path mismatches.
628
- 2 . Update ` go-critic ` to the latest version.
629
- 3 . Sync default ` go-critic ` checks list with the ` go-critic ` .
630
- 4 . Support ` pre-commit.com ` hooks.
631
- 5 . Rework and simplify ` --skip-dirs ` for some edge cases.
632
- 6 . Add ` modules-download-mode ` option: it's useful in CI.
633
- 7 . Better validate commands.
634
- 8 . Fix working with absolute paths.
635
- 9 . Fix ` errcheck.ignore ` option.
636
-
637
- ### November 2018
638
-
639
- 1 . Support new linters:
640
- * gocritic
641
- * scopelint
642
- * gochecknointis
643
- * gochecknoglobals
644
- 2 . Update CLA
645
-
646
- ### October 2018
647
-
648
- 1 . Update goimports formatting
649
- 2 . Use go/packages
650
- * A lot of linters became "fast": they are enabled by --fast now and
651
- work in 1-2 seconds. Only unparam, interfacer and megacheck
652
- are "slow" linters now.
653
-
654
- * Average project is analyzed 20-40% faster than before if all linters are
655
- enabled! If we enable all linters except unparam, interfacer and
656
- megacheck analysis is 10-20x faster!
657
- 3 . Support goimports.local-prefix option for goimports
658
- 4 . Change license from AGPL to GPL
659
-
660
- ### September 2018
661
-
662
- 1 . Rename GAS to gosec
663
- 2 . Drop go1.9 support
664
- 3 . Support installation of golangci-lint via go modules
665
- 4 . Update dockerfile to use golang 1.11
666
- 5 . Add support for ignore/exclude flags in errcheck
667
-
668
- ### August 2018
669
-
670
- 1 . Improve lll parsing for very long lines
671
- 2 . Update Depguard with a Glob support
672
- 3 . Silent output by default
673
- 4 . Disable GAS (gosec) by default
674
- 5 . Build golangci-lint on go1.11
675
-
676
- ### July 2018
677
-
678
- 1 . Add ` golangci-lint linters ` command
679
- 2 . Fix work with symlinks
680
-
681
- ### June 2018
682
-
683
- 1 . Add support of the next linters:
684
- * unparam
685
- * misspell
686
- * prealloc
687
- * nakedret
688
- * lll
689
- * depguard
690
- 2 . Smart generated files detector
691
- 3 . Full ` //nolint ` support
692
- 4 . Implement ` --skip-files ` and ` --skip-dirs ` options
693
- 5 . Checkstyle output format support
694
-
695
- ### May 2018
696
-
697
- 1 . Support GitHub Releases
698
- 2 . Installation via Homebrew and Docker
561
+ {{.ChangeLog}}
699
562
700
563
## Debug
701
564
0 commit comments