github.com/yuqengo/golangci-lint@v0.0.2/CHANGELOG.md (about)

     1  Follow the news and releases on our [twitter](https://twitter.com/golangci) and our [blog](https://medium.com/golangci).
     2  There is the most valuable changes log:
     3  
     4  ### v1.48.0
     5  
     6  1. new linters
     7     * `usestdlibvars`:https://github.com/sashamelentyev/usestdlibvars
     8  2. updated linters
     9     * `contextcheck`: disable linter
    10     * `errcheck`: from 1.6.1 to 1.6.2
    11     * `gci`: add missing `custom-order` setting
    12     * `gci`: from 0.5.0 to 0.6.0
    13     * `ifshort`: deprecate linter
    14     * `nolint`: drop allow-leading-space option and add "nolint:all"
    15     * `revgrep`: bump to HEAD
    16  3. documentation
    17     * remove outdated info on source install
    18  4. misc
    19     * go1.19 support
    20  
    21  ### v1.47.3
    22  
    23  1. updated linters:
    24     * remove some go1.18 limitations
    25     * `asasalint`: from 0.0.10 to 0.0.11
    26     * `decorder`: from 0.2.2 to v0.2.3
    27     * `gci`: fix panic with invalid configuration option
    28     * `gci`: from 0.4.3 to v0.5.0
    29     * `go-exhaustruct`: from 2.2.0 to 2.2.2
    30     * `gomodguard`: from 1.2.3 to 1.2.4
    31     * `nosnakecase`: from 1.5.0 to 1.7.0
    32     * `honnef.co/go/tools`: from 0.3.2 to v0.3.3
    33  2. misc
    34     * cgo: fix linters ignoring CGo files
    35  
    36  ### v1.47.2
    37  
    38  1. updated linters:
    39     * `revive`: ignore slow rules
    40  
    41  ### v1.47.1
    42  
    43  1. updated linters:
    44     * `gci`: from 0.4.2 to 0.4.3
    45     * `gci`: remove the use of stdin
    46     * `gci`: fix options display
    47     * `tenv`: from 1.6.0 to 1.7.0
    48     * `unparam`: bump to HEAD
    49  
    50  ### v1.47.0
    51  
    52  1. new linters:
    53     * `asasalint`: https://github.com/alingse/asasalint
    54     * `nosnakecase`: https://github.com/sivchari/nosnakecase
    55  2. updated linters:
    56     * `decorder`: from 0.2.1 to 0.2.2
    57     * `errcheck`: from 1.6.0 to 1.6.1
    58     * `errname`: from 0.1.6 to 0.1.7
    59     * `exhaustive`: from 0.7.11 to 0.8.1
    60     * `gci`: fix issues and re-enable autofix
    61     * `gci`: from 0.3.4 to 0.4.2
    62     * `go-exhaustruct`: from 2.1.0 to 2.2.0
    63     * `go-ruleguard`: from 0.3.19 to 0.3.21
    64     * `gocognit`: from 1.0.5 to 1.0.6
    65     * `gocyclo`: from 0.5.1 to 0.6.0
    66     * `golang.org/x/tools`: bump to HEAD
    67     * `gosec`: allow `global` config
    68     * `gosec`: from 2.11.0 to 2.12.0
    69     * `nonamedreturns`: from 1.0.1 to 1.0.4
    70     * `paralleltest`: from 1.0.3 to 1.0.6
    71     * `staticcheck`: fix generics
    72     * `staticcheck`: from 0.3.1 to 0.3.2
    73     * `tenv`: from 1.5.0 to 1.6.0
    74     * `testpackage`: from 1.0.1 to 1.1.0
    75     * `thelper`: from 0.6.2 to 0.6.3
    76     * `wrapcheck`: from 2.6.1 to 2.6.2
    77  3. documentation:
    78     * add thanks page
    79     * add a clear explanation about the `staticcheck` integration.
    80     * `depguard`: add `ignore-file-rules`
    81     * `depguard`: adjust phrasing
    82     * `gocritic`: add `enable` and `disable` ruleguard settings
    83     * `gomnd`: fix typo
    84     * `gosec`: add configs for all existing rules
    85     * `govet`: add settings for `shadow` and `unusedresult`
    86     * `thelper`: add `fuzz` config and description
    87     * linters: add defaults
    88  
    89  ### v1.46.2
    90  
    91  1. updated linters:
    92     * `execinquery`: bump from v1.2.0 to v1.2.1
    93     * `errorlint`: bump to v1.0.0
    94     * `thelper`: allow to disable one option
    95  2. documentation:
    96     * rename `.golangci.example.yml` to `.golangci.reference.yml`
    97     * add `containedctx` linter to the list of available linters
    98  
    99  ### v1.46.1
   100  
   101  1. updated linters:
   102     * `execinquery`: bump from v0.6.0 to v0.6.1
   103  2. documentation:
   104     * add missing linters
   105  
   106  ### v1.46.0
   107  
   108  1. new linters:
   109     * `execinquery`: https://github.com/lufeee/execinquery
   110     * `nonamedreturns`: https://github.com/firefart/nonamedreturns
   111     * `nosprintfhostport`: https://github.com/stbenjam/no-sprintf-host-port
   112     * `exhaustruct`: https://github.com/GaijinEntertainment/go-exhaustruct
   113  2. updated linters:
   114     * `bidichk`: from 0.2.2 to 0.2.3
   115     * `deadcode`: bump to HEAD
   116     * `errchkjson`: from 0.2.3 to 0.3.0
   117     * `errname`: from 0.1.5 to 0.1.6
   118     * `go-critic`: from 0.6.2 to 0.6.3
   119     * `gocyclo`: from 0.4.0 to 0.5.1
   120     * `gofumpt` from 0.3.0 to 0.3.1
   121     * `gomoddirectives`: from 0.2.2 to 0.2.3
   122     * `gosec`: from 2.10.0 to 2.11.0
   123     * `honnef.co/go/tools`: from 0.2.2to 0.3.1 (go1.18 support)
   124     * `nilnil`: from 0.1.0 to 0.1.1
   125     * `nonamedreturns`: bump from 1.0.0 to 1.0.1
   126     * `predeclared`: from 0.2.1 to 0.2.2
   127     * `promlinter`: bump to v0.2.0
   128     * `revive`: from 1.1.4 to 1.2.1
   129     * `tenv`: from 1.4.7 to 1.5.0
   130     * `thelper`: from 0.5.1 to 0.6.2
   131     * `unused`: fix false-positive
   132     * `varnamelen`: bump to v0.8.0
   133     * `wrapcheck`: from 2.5.0 to 2.6.1
   134     * `exhaustivestruct`: This linter is deprecated use `exhaustruct` instead.
   135  3. documentation:
   136     * Update "Shell Completion" instruction on Linux
   137     * Update FAQ page
   138  4. misc:
   139     * log: enable override coloring based on `CLICOLOR` and `CLICOLOR_FORCE`
   140  
   141  ### v1.45.2
   142  
   143  1. misc:
   144     * fix: help command
   145  
   146  ### v1.45.1
   147  
   148  1. updated linters:
   149     * `interfacer`: inactivate with go1.18
   150     * `govet`: inactivate unsupported analyzers (go1.18)
   151     * `depguard`: reduce requirements
   152     * `structcheck`: inactivate with go1.18
   153     * `varnamelen`: bump from v0.6.0 to v0.6.1
   154  2. misc:
   155     * Automatic Go version detection 🎉 (go1.18)
   156     * docker: update base images (go1.18)
   157  
   158  ### v1.45.0
   159  
   160  1. updated linters:
   161     * `cobra`: from 1.3.0 to 1.4.0
   162     * `containedctx`: from 1.0.1 to 1.0.2
   163     * `errcheck`: add an option to remove default exclusions
   164     * `gci`: from 0.3.1 to 0.3.2
   165     * `go-header`: from 0.4.2 to 0.4.3
   166     * `gofumpt`: add module-path setting
   167     * `gofumpt`: from 0.2.1 to 0.3.0
   168     * `gopsutil`: from 3.22.1 to 3.22.2
   169     * `gosec`: from 2.9.6 to 2.10.0
   170     * `makezero`: from 1.1.0 to 1.1.1
   171     * `revive`: fix default values
   172     * `wrapcheck`: from 2.4.0 to 2.5.0
   173  2. documentation:
   174     * docs: add "back to the top" button
   175     * docs: add `forbidigo` example that uses comments
   176     * docs: improve linters page
   177  3. misc:
   178     * go1.18 support 🎉
   179     * Add an option to manage the targeted version of Go
   180     * Default to YAML when config file has no extension
   181  
   182  ### v1.44.2
   183  
   184  1. updated linters:
   185     * `gci`: bump to HEAD
   186     * `gci`: restore defaults for sections
   187     * `whitespace`: from 0.0.4 to 0.0.5
   188  2. documentation:
   189     * add link to configuration in the linters list
   190  
   191  ### v1.44.1
   192  
   193  1. updated linters:
   194     * `bidichk`: from 0.2.1 to 0.2.2
   195     * `errchkjson`: from 0.2.1 to 0.2.3
   196     * `thelper`: from 0.5.0 to 0.5.1
   197     * `tagliatelle`: from 0.3.0 to 0.3.1
   198     * `gopsutil`: from 3.21.12 to 3.22.1
   199     * `gci`: from 0.2.9 to 0.3.0
   200     * `revive`: from v1.1.3 to v1.1.4
   201     * `varnamelen`: from v0.5.0 to v0.6.0
   202  2. documentation:
   203     * linters: improve configuration pages
   204     * `decorder`: fix `disable-init-func-first-check: false` elaboration
   205  3. misc:
   206     * fix debug output
   207  
   208  ### v1.44.0
   209  
   210  1. new linters:
   211     * `containedctx`: https://github.com/sivchari/containedctx
   212     * `decorder`: https://gitlab.com/bosi/decorder
   213     * `errchkjson`: https://github.com/breml/errchkjson
   214     * `maintidx`: https://github.com/yagipy/maintidx
   215     * `grouper`: https://github.com/leonklingele/grouper
   216  2. updated linters:
   217     * `asciicheck`: bump to v0.1.1
   218     * `bidichk`: from 0.1.1 to 0.2.1
   219     * `bodyclose`: bump to HEAD
   220     * `decorder`: from 0.2.0 to 0.2.1
   221     * `depguard`: from 1.0.1 to 1.1.0
   222     * `errchkjson`: from 0.2.0 to 0.2.1
   223     * `errorlint`: bump to HEAD
   224     * `exhaustive`: drop deprecated/unused settings
   225     * `exhaustive`: from v0.2.3 to 0.7.11
   226     * `forbidigo`: from 1.2.0 to 1.3.0
   227     * `forcetypeassert`: bump to v0.1.0
   228     * `gocritic`: from 0.6.1 to 0.6.2
   229     * `gocritic`: support autofix
   230     * `gocyclo`: from 0.3.1 to 0.4.0
   231     * `godot`: add period option
   232     * `gofumpt`: from 0.1.1 to 0.2.1
   233     * `gomnd`: from 2.4.0 to 2.5.0
   234     * `gomnd`: new configuration
   235     * `gosec`: from 2.9.1 to 2.9.6
   236     * `ifshort`: from 1.0.3 to 1.0.4
   237     * `ineffassign`: bump to HEAD
   238     * `makezero`: to v1.1.0
   239     * `promlinter`: from v0.1.0 to HEAD
   240     * `revive`: fix `enableAllRules`
   241     * `revive`: from 1.1.2 to 1.1.3
   242     * `staticcheck`: from 0.2.1 to 0.2.2
   243     * `tagliatelle`: from 0.2.0 to 0.3.0
   244     * `thelper`: from 0.4.0 to 0.5.0
   245     * `unparam`: bump to HEAD
   246     * `varnamelen`: bump to v0.5.0
   247     * `wrapcheck`: update configuration to include `ignoreSignRegexps`
   248  3. documentation:
   249     * linters: improve pages about configuration
   250     * improve page about false-positive
   251     * `nolintlint`: fix wrong default value in comment
   252     * `revive`: add a more detailed configuration
   253  4. misc:
   254     * outputs: Add support for multiple outputs
   255     * outputs: Print error text in `<failure>` tag content for more readable JUnit output
   256     * outputs: ensure that the Issues key in JSON format is a list
   257     * Return error if any linter fails to run
   258     * cli: Show deprecated mark in the CLI linters help
   259  
   260  ### November 2021
   261  
   262  1. new linters:
   263     * `bidichk`: https://github.com/breml/bidichk
   264  2. update linters:
   265     * `nestif`: from 0.3.0 to 0.3.1
   266     * `rowserrcheck`: from 1.1.0 to 1.1.1
   267     * `gopsutil`: from 3.21.9 to 3.21.10
   268     * `wrapcheck`: from 2.3.1 to 2.4.0
   269     * `gocritic`: add support for variable substitution in `ruleguard` path settings
   270  3. documentation:
   271     * improve `go-critic` documentation
   272     * improve `nolintlint` documentation
   273  4. Misc:
   274     * cli: don't hide `enable-all` option
   275  
   276  ### october 2021
   277  
   278  1. new linters:
   279     * `contextcheck`: https://github.com/sylvia7788/contextcheck
   280     * `varnamelen`: https://github.com/blizzy78/varnamelen
   281  2. update linters:
   282     * `gochecknoglobals`: to v0.1.0
   283     * `gosec`: filter issues according to the severity and confidence
   284     * `errcheck`: empty selector name.
   285     * `ifshort`: from 1.0.2 to 1.0.3
   286     * `go-critic`: from 0.5.6 to 0.6.0
   287     * `gosec`: from 2.8.1 to 2.9.1
   288     * `durationcheck`: from 0.0.8 to 0.0.9
   289     * `wrapcheck`: from 2.3.0 to 2.3.1
   290     * `revive`: from 1.1.1 to 1.1.2
   291  
   292  ### September 2021
   293  
   294  1. new linters:
   295     * `ireturn`: https://github.com/butuzov/ireturn
   296     * `nilnil`: https://github.com/Antonboom/nilnil
   297     * `tenv`: https://github.com/sivchari/tenv
   298  2. update linters:
   299     * `errcheck`: update to HEAD
   300     * `errname`: from 0.1.4 to 0.1.5
   301     * `gci`: Parse the settings more similarly to the CLI
   302     * `godot`: from 1.4.9  to 1.4.11
   303     * `ireturn`: from 0.1.0 to 0.1.1
   304     * `nlreturn`: add block-size option
   305     * `paralleltest`: from 1.0.2 to 1.0.3
   306  3. Misc:
   307     * new-from-rev: add support for finding issues in entire files in a diff
   308  
   309  ### August 2021
   310  
   311  1. new linters:
   312     * `errname`: https://github.com/Antonboom/errname
   313  2. update linters:
   314     * `errname`: from 0.1.3 to 0.1.4
   315     * `go-critic`: fix invalid type conversions.
   316     * `godot`: from 1.4.8 to 1.4.9
   317     * `gomodguard`: from 1.2.2 to 1.2.3
   318     * `revive`: from 1.0.9 to 1.1.1
   319     * `staticcheck`: bump to 2021.1.1 (v0.2.1)
   320     * `wrapcheck`: bump to v2.3.0
   321  3. Misc:
   322     * build binaries and Docker images with go1.17
   323  
   324  ### July 2021
   325  
   326  1. update linters:
   327     * `errcheck`: allow exclude config without extra file
   328     * `exhaustive`: from 0.1.0 to 0.2.3
   329     * `gocognit`: from 1.0.1 to 1.0.5
   330     * `godot`: from 1.4.7 to 1.4.8
   331     * `gomoddirectives`: from 0.2.1 to 0.2.2
   332     * `revive`: from 1.0.8 to 1.0.9
   333  2. documentation:
   334     * improve `goconst` documentation
   335     * improve `goimports` description
   336  
   337  ### June 2021
   338  
   339  1. update linters:
   340     * `durationcheck`: from 0.0.7 to 0.0.8
   341     * `gci`: from 0.2.8 to 0.2.9
   342     * `goconst`: from 0.5.6 to 0.5.7
   343     * `gofumpt`: Add lang-version option
   344     * `gomodguard`: from 1.2.1 to 1.2.2
   345     * `gosec`: from 2.8.0 to 2.8.1
   346     * `revive`: add enable-all-rules.
   347     * `revive`: allow to disable rule
   348     * `revive`: fix exclude comment rule for const block
   349     * `revive`: from 1.0.7 to 1.0.8
   350     * `wrapcheck`: from 2.1.0 to 2.2.0
   351  2. documentation:
   352     * add all integrations to docs introduction page
   353  3. Misc:
   354     * 🎉 Un-deprecate enable-all option
   355     * output: generate HTML report
   356     * Support RISV64
   357  
   358  ### May 2021
   359  
   360  1. new linters:
   361     * `tagliatelle`: https://github.com/ldez/tagliatelle
   362     * `promlinter`: https://github.com/yeya24/promlinter
   363  2. update linters:
   364     * `durationcheck`: from 0.0.6 to 0.0.7
   365     * `errorlint`: bump to HEAD
   366     * `forbidigo`: from 1.1.0 to 1.2.0
   367     * `go-critic`: from 0.5.5 to 0.5.6
   368     * `godot`: from 1.4.6 to 1.4.7
   369     * âš  `golint`: deprecated
   370     * `gomnd`: from 2.3.2 to 2.4.0
   371     * `gomodguard`: fix problem where duplicate issues were reported
   372     * `gosec`: from 2.7.0 to 2.8.0
   373     * `govet`: fix `sigchanyzer`
   374     * `govet`: Update vet passes
   375     * `importas`: allow repeated aliases
   376     * `importas`: bump to HEAD
   377     * `makezero`: bump to HEAD
   378     * `nolintlint`: fix false positive
   379     * `revive`: convert hard coded excludes into default exclude patterns
   380     * `revive`: fix add-constant rule support
   381     * `revive`: fix excludes
   382     * `revive`: from 1.0.6 to 1.0.7
   383     * `revive`: improve 'exported' rule output
   384     * `rowserrcheck`: bump to v1.1.0
   385     * `staticcheck`: configuration for `staticcheck`, `gosimple`, `stylecheck`
   386     * `staticcheck`: from 0.1.3 to 0.1.4
   387     * `staticcheck`: from v0.1.4 to v0.2.0
   388     * `wastedassign`: from 0.2.0 to 1.0.0
   389     * `wastedassign`: from 1.0.0 to v2.0.6
   390     * `wrapcheck`: from 1.2.0 to 2.1.0
   391  3. documentation:
   392     * improve linters page
   393     * `exhaustivestruct` example explanation
   394     * fix pattern of `forbidigo` in example config yaml
   395     * bump documentation dependencies
   396     * fix typos
   397  4. Misc:
   398     * set the minimum Go version to go1.15
   399     * non-zero exit code when a linter produces a panic
   400  
   401  ### April 2021
   402  
   403  1. new linters:
   404     * `tagliatelle`: https://github.com/ldez/tagliatelle
   405     * `promlinter`: https://github.com/yeya24/promlinter
   406  2. update linters:
   407     * `godot`: from 1.4.4 to 1.4.6
   408     * `wrapcheck`: from 1.0.0 to 1.2.0
   409     * `go-mnd`: from 2.3.1 to 2.3.2
   410     * `wsl`: from 3.2.0 to 3.3.0
   411     * `revive`: from 1.0.5 to 1.0.6
   412     * `importas`: bump to HEAD
   413     * `staticcheck`: configurable Go version
   414     * `gosec`: add configuration
   415     * `typecheck`: improve error stack parsing
   416  3. documentation:
   417     * bump documentation dependencies
   418     * fix typos
   419  4. Misc:
   420     * fix: comma in exclude pattern leads to unexpected results
   421  
   422  ### March 2021
   423  
   424  1. new linters:
   425     * `gomoddirectives`: https://github.com/ldez/gomoddirectives
   426  2. update linters:
   427     * `go-critic`: from 0.5.4 to 0.5.5
   428     * `gofumpt`: from v0.1.0 to v0.1.1
   429     * `gosec`: from 2.6.1 to 2.7.0
   430     * `ifshort`: bump to v1.0.2
   431     * `importas`: bump to HEAD
   432     * `makezero`: bump to HEAD
   433     * `nolintlint`: allow to fix //nolint lines
   434     * `revive`: from 1.0.3 to 1.0.5
   435     * `revive`: the default configuration is only applied when no dedicated configuration
   436     * `rowserrcheck`: bump to HEAD
   437     * âš  `scopelint`: deprecated
   438     * `staticcheck`: from v0.1.2 (2020.2.2) to v0.1.3 (2020.2.3)
   439     * 🎉 `typecheck`: display compilation errors as report instead of error
   440     * `wastedassign`: bump to v0.2.0
   441     * `wrapcheck`: bump to v1.0.0
   442  3. documentation:
   443     * improve [linters page](https://golangci-lint.run/usage/linters/) (versions, deprecation, and presets)
   444     * add [cache directory](https://golangci-lint.run/usage/configuration/#cache) information
   445     * adding missing format options
   446     * fix typos
   447  4. Misc:
   448     * Set `version` command output to Stdout
   449     * fix linters load mode
   450     * Restore fast linters meaning
   451  
   452  ### February 2021
   453  
   454  1. new linters:
   455     * `durationcheck`: https://github.com/charithe/durationcheck
   456     * `revive`: https://github.com/mgechev/revive
   457     * `cyclop`: https://github.com/bkielbasa/cyclop
   458     * `wastedassign`: https://github.com/sanposhiho/wastedassign
   459     * `importas`: https://github.com/julz/importas
   460     * `nilerr`: https://github.com/gostaticanalysis/nilerr
   461     * `forcetypeassert`: https://github.com/gostaticanalysis/forcetypeassert
   462     * `govet`: add `stringintconv` and `ifaceassert`
   463  2. update linters:
   464     * `prealloc`: Use upstream version
   465     * `errcheck`: Use upstream version
   466     * `ineffassign`: Use upstream version
   467     * `gocyclo`: Use upstream version
   468     * `godot` from 1.3.2 to 1.4.3
   469     * `exhaustivestruct` from 1.1.0 to 1.2.0
   470     * `forbidigo` from 1.0.0 to 1.1.0
   471     * `thelper` from 0.2.1 to 0.3.1
   472     * `ruleguard`: print error message and exit with non-zero status when parsing error occurs
   473     * fix wrong load mode for `asciicheck`, `exhaustivestruct`, `exportloopref`, and `makezero`
   474     * `wsl`: bump to v3.2.0
   475     * `durationcheck`: from 0.0.4 to 0.0.6
   476     * `staticcheck`: from 2020.1.6 to v0.1.2 (2020.2.2)
   477     * `thelper` from 0.3.1 to 0.4.0
   478     * `bodyclose`: bump to HEAD
   479     * `go-err113`: bump to HEAD
   480     * âš  `interfacer`: deprecated
   481     * âš  `maligned`: deprecated (govet `fieldalignment` as replacement)
   482     * `govet`: use same default linter as go vet
   483     * `go-printf-func-name`: to `v0.0.0-20200119135958-7558a9eaa5af`
   484     * `godox`: to `v0.0.0-20210227103229-6504466cf951`
   485     * `asciicheck`: to `v0.0.0-20200416200610-e657995f937b`
   486     * `wrapcheck`: to `v0.0.0-20201130113247-1683564d9756`
   487     * `unparam`: to `v0.0.0-20210104141923-aac4ce9116a7`
   488  3. CLI: truncate multiline descriptions
   489  4. fix: new-from-rev for a large repository
   490  5. Support RelatedInformation for analysis Diagnostic
   491  6. use go1.16 to create binaries 
   492  7. fix: MIPS release
   493  8. documentation:
   494     * bump documentation dependencies
   495     * fix `go-header` usage
   496     * improve `gocritic` description
   497     * update deprecated hyperlink for Sublime Text plugin
   498     * add docs on using homebrew tap
   499  
   500  ### January 2021
   501  
   502  1. new linters:
   503     * `predeclared`: https://github.com/nishanths/predeclared
   504     * `ifshort`: https://github.com/esimonov/ifshort
   505  2. update linters:
   506     * `go-critic` from 0.5.2 to 0.5.3
   507     * `thelper` from 0.1.0 to 0.2.1
   508     * Validate `go-critic` settings
   509     * `gofumpt` to v0.1.0
   510     * `gci` to v0.2.8
   511     * `go-mnd` to v2.3.1
   512     * `gosec` from 2.5.0 to 2.6.1
   513     * `godot` from 1.3.2 to 1.4.3
   514     * `ifshort` to v1.0.1
   515     * `rowserrcheck`: fix reports false positive
   516  3. fix: modules-download-mode support
   517  4. documentation:
   518     * bump documentation dependencies
   519  
   520  ### December 2020
   521  
   522  1. new linters:
   523     * `forbidigo`: https://github.com/ashanbrown/forbidigo
   524     * `makezero`: https://github.com/ashanbrown/makezero
   525     * `thelper`: https://github.com/kulti/thelper
   526  2. update linters:
   527     * `go-header` from v0.3.1 to v0.4.2
   528     * `go-mnd` from v2.0.0 to v2.2.0
   529     * `godot` from v1.3.0 to v1.3.2
   530     * `gci` from v0.2.4 to v0.2.7
   531     * `gomodguard` from v1.1.0 to v1.2.0
   532     * `go-errorlint` from v0.0.0-20201006195004-351e25ade6e3 to v0.0.0-20201127212506-19bd8db6546f
   533     * `gofumpt` from v0.0.0-20200802201014-ab5a8192947d to v0.0.0-20201129102820-5c11c50e9475
   534     * `nolintlint` fix comment analysis. (#1571)
   535  3. result/processors: treat all non-Go source as special autogenerated files
   536  4. throw an error on panic. (#1540)
   537  5. resolve custom linters' path relative to config file directory (#1572)
   538  6. treat all non-Go source as special autogenerated files
   539  7. documentation:
   540     * add settings examples for `gocritic` (#1562)
   541     * removing reference to no-longer-existing linter-in-the-cloud (#1553)
   542  8. others:
   543     * bump `gopkg.in/yaml.v2` from 2.3.0 to 2.4.0 (#1528)
   544     * bump `gatsby-remark-responsive-iframe` in /docs (#1533)
   545     * bump `gatsby-remark-images` from 3.3.29 to 3.6.0 in /docs (#1531)
   546     * bump `ini` from 1.3.5 to 1.3.8 in /tools (#1560)
   547     * bump `react-headroom` from 3.0.0 to 3.0.1 in /docs (#1532)
   548     * bump `react-live` from 2.2.2 to 2.2.3 in /docs (#1534)
   549     * bump `react` from 16.13.1 to 16.14.0 in /docs (#1481)
   550     * Fix `forbidigo` linter name in reports (#1590)
   551  
   552  ### November 2020
   553  
   554  1. new linters:
   555     * `paralleltest`: https://github.com/kunwardeep/paralleltest
   556  2. update linters:
   557     * `godot` from v0.4.9 to v1.3.0
   558     * `exportloopref` from v0.1.7 to v0.1.8
   559     * `gosec` from 2.4.0 to 2.5.0
   560     * `goconst` using upstream https://github.com/jgautheron/goconst
   561  3. `DefaultExcludePatterns` should only be used for specified linter (#1494)
   562  4. unknown linter breaks //nolint (#1497)
   563  5. report all unknown linters at once (#1477)
   564  6. CI:
   565     * fix Docker tag for Alpine build
   566  7. documentation:
   567     * missing sort-results in the docs (#1514)
   568     * add description of Homebrew's official formula (#1421)
   569  8. others:
   570     * bump `golang.org/x/text` to v0.3.4 (#1293)
   571     * bump `github.com/fatih/color` to from 1.9.0 to 1.10.0 (#1485)
   572     * bump `lodash` from 4.17.15 to 4.17.19 in /.github/peril (#1252)
   573     * bump `polished` from 3.6.6 to 4.0.3 in /docs (#1482)
   574     * bump `gatsby-alias-imports` from 1.0.4 to 1.0.6 in /docs (#1479)
   575     * bump `puppeteer` from 5.3.1 to 5.4.1 in /docs (#1480)
   576     * bump `gatsby-remark-embedder` from 3.0.0 to 4.0.0 in /docs (#1478)
   577  
   578  ### October 2020
   579  
   580  1. new linters:
   581     * `exhaustivestruct`: https://github.com/mbilski/exhaustivestruct
   582     * `go-errorlint`: https://github.com/polyfloyd/go-errorlint
   583     * `tparallel`: https://github.com/moricho/tparallel
   584     * `wrapcheck`: https://github.com/tomarrell/wrapcheck
   585  2. update linters:
   586     * `honnef.co/go/tools` from 2020.1.5 to 2020.1.6
   587     * `exhaustivestruct` from v1.0.1 to v1.1.0
   588     * `exhaustive` to v0.1.0
   589     * `gochecknoglobals`: use https://github.com/leighmcculloch/gochecknoglobals
   590  3. add support for powershell completion (#1408)
   591  4. add `.golangci.yaml` to list of configuration files searched on startup (#1364)
   592  5. support for only specifying default severity (#1396)
   593  6. documentation:
   594     * mention macports installation procedure on macOS (#1352)
   595     * sort linters (#1451)
   596  7. CI:
   597     * add codeQL scanning (#1405)
   598     * fix version details in Docker image (#1471)
   599     * releasing docker image for arm64 (#1383)
   600     * change interval for npm to monthly (#1424)
   601  8. others:
   602     * use tag version for cobra (#1458)
   603     * bump `nancy` to 1.0.1 (#1410)
   604     * bump `gatsby-plugin-catch-links` in /docs (#1415)
   605     * bump `gatsby-plugin-mdx` from 1.2.40 to 1.2.43 in /docs (#1419)
   606     * bump `gatsby-plugin-sharp` from 2.6.31 to 2.6.40 in /docs (#1423)
   607     * bump `gatsby-plugin-sitemap` from 2.4.12 to 2.4.14 in /docs (#1417)
   608     * bump `github.com/mattn/go-colorable` from 0.1.7 to 0.1.8 (#1413)
   609     * bump `github.com/sirupsen/logrus` from 1.6.0 to 1.7.0 (#1412)
   610     * bump `github.com/sourcegraph/go-diff` from 0.6.0 to 0.6.1 (#1414)
   611     * bump `golangci/golangci-lint-action` from v2 to v2.3.0  (#1447) (#1469)
   612     * bump `puppeteer` from 3.3.0 to 5.3.1 in /docs (#1418)
   613  
   614  ### September 2020
   615  
   616  1. update linters:
   617     * `godot` from 0.4.8 to 0.4.9
   618     * `exhaustive` from v0.0.0-20200708172631-8866003e3856 to v0.0.0-20200811152831-6cf413ae40e0
   619     * `gofumpt` from v0.0.0-20200709182408-4fd085cb6d5f to v0.0.0-20200802201014-ab5a8192947d
   620  2. add support for fish completion (#1201)
   621  3. documentation:
   622     * fix typo in performance docs (#1350)
   623  4. CI:
   624     * prevent macos to be marked as passing upon failure (#1381)
   625     * check only for go.mod file (#1397)
   626     * check if go.mod and go.sum are up to dated (#1377)
   627     * trigger Netlify (#1358)
   628  5. others:
   629     * bump `github.com/sourcegraph/go-diff` from 0.5.3 to 0.6.0 (#1353)
   630     * bump `github.com/valyala/quicktemplate` from 1.6.2 to 1.6.3 (#1385)
   631     * ignore known dependency failure in nancy (#1378)
   632     * bump `@mdx-js/mdx` from 1.6.16 to 1.6.18 in /docs (#1401)
   633     * bump `gatsby` from 2.24.52 to 2.24.65 in /docs (#1400)
   634     * bump `gatsby-plugin-canonical-urls` in /docs (#1390)
   635     * bump `gatsby-plugin-google-analytics` in /docs (#1388)
   636     * bump `gatsby-plugin-manifest` from 2.4.23 to 2.4.27 in /docs (#1355)
   637     * bump `gatsby-plugin-mdx` from 1.2.35 to 1.2.40 in /docs (#1386)
   638     * bump `gatsby-plugin-offline` from 3.2.23 to 3.2.27 in /docs (#1368)
   639     * bump `gatsby-plugin-sharp` from 2.6.25 to 2.6.31 in /docs (#1354)
   640     * bump `gatsby-plugin-sitemap` from 2.4.11 to 2.4.12 in /docs (#1344)
   641     * bump `gatsby-remark-autolink-headers` in /docs (#1387)
   642     * bump `gatsby-remark-images` from 3.3.25 to 3.3.28 in /docs (#1345)
   643     * bump `gatsby-remark-images` from 3.3.28 to 3.3.29 in /docs (#1365)
   644     * bump `gatsby-remark-mermaid` from 2.0.0 to 2.1.0 in /docs (#1369)
   645     * bump `gatsby-source-filesystem` in /docs (#1366)
   646     * bump `gatsby-source-filesystem` in /docs (#1389)
   647     * bump `gatsby-transformer-sharp` in /docs (#1402)
   648     * bump `gatsby-transformer-yaml` from 2.4.10 to 2.4.11 in /docs (#1367)
   649     * bump `node-fetch` in /.github/contributors (#1363)
   650     * bump `polished` from 3.6.5 to 3.6.6 in /docs (#1347)
   651  
   652  ### August 2020
   653  
   654  1. new `nlreturn` linter: https://github.com/ssgreg/nlreturn
   655  2. new `gci` linter: https://github.com/daixiang0/gci
   656  3. support `latest` version of golangci-lint in golangci-lint-action
   657  4. update `gosec` linter from 2.3.0 to 2.4.0
   658  5. update `godot` linter from 0.4.2 to 0.4.8
   659  6. update `go-critic` from 0.5.0 to 0.5.2 (#1307)
   660  7. update `nlreturn` from 2.0.1 to 2.0.2 (#1287), 2.0.2 to 2.1.0 (#1327)
   661  8. update `gci` to v0.2.1 (#1292), to v0.2.2 (#1305), to v0.2.4 (#1337),
   662  9. update `funlen` from 0.0.2 to 0.0.3 (#1341)
   663  10. upgrade to golang 1.15 for smaller binary (#1303)
   664  11. support short and json formats for version cmd (#1315)
   665  12. add home directory to config file search paths (#1325)
   666  13. allow for serializing multiple golangci-lint invocations (#1302)
   667  
   668  ### July 2020
   669  
   670  1. `gofumpt` linter:
   671      * update linter
   672      * add `extra-rules` option
   673      * support auto-fixing
   674  2. upgrade `exhaustive` linter
   675  3. upgrade `exportloopref` linter
   676  4. improve 'no such linter' error message
   677  5. sorting result.Issues implementation
   678  6. enhancements in CI:
   679      * Run `nancy` validation for all dependencies
   680      * Move dependabot config to `.github` folder
   681  7. other
   682      * bump `lodash` from 4.17.15 to 4.17.19 in /tools
   683      * bump `golangci/golangci-lint-action` from v1.2.2 to v2
   684      * bump `github.com/valyala/quicktemplate` from 1.5.0 to 1.5.1
   685  
   686  
   687  ### June 2020
   688  
   689  1. Add new linters: `gofumpt`
   690  
   691  ### May 2020
   692  
   693  1. Add new linters: `nolintlint`, `goerr113`
   694  2. Updated linters: `godot`, `staticcheck`
   695  3. Launch a [website](https://golangci-lint.run)
   696  
   697  ### April 2020
   698  
   699  1. Add new linters: `testpackage`, `nestif`, `godot`, `gomodguard`, `asciicheck`
   700  2. Add github actions output format
   701  3. Update linters: `wsl`, `gomodguard`, `gosec`
   702  4. Support `disabled-tags` setting for `gocritic`
   703  5. Mitigate OOM and "failed prerequisites"
   704  6. Self-isolate due to unexpected pandemics
   705  7. Support case-sensitive excludes
   706  8. Allow granular re-enabling excludes by ID, e.g. `EXC0002`
   707  
   708  ### September 2019
   709  
   710  1. Support go1.13
   711  2. Add new linters: `funlen`, `whitespace` (with auto-fix) and `godox`
   712  3. Update linters: `gochecknoglobals`, `scopelint`, `gosec`
   713  4. Provide pre-built binary for ARM and FreeBSD
   714  5. 2. Fix false-positives in `unused`
   715  6. Support `--skip-dirs-use-default`
   716  7. Add support for bash completions
   717  
   718  ### July 2019
   719  
   720  1. Fix parallel writes race condition
   721  2. Update bodyclose with fixed panic
   722  
   723  ### June 2019
   724  
   725  1. Treat Go source files as a plain text by `misspell`: it allows detecting issues in strings, variable names, etc.
   726  2. Implement richer and more stable auto-fix of `misspell` issues.
   727  
   728  ### May 2019
   729  
   730  1. Add [bodyclose](https://github.com/timakin/bodyclose) linter.
   731  2. Support junit-xml output.
   732  
   733  ### April 2019
   734  
   735  1. Update go-critic, new checkers were added: badCall, dupImports, evalOrder, newDeref
   736  2. Fix staticcheck panic on packages that do not compile
   737  3. Make install script work on Windows
   738  4. Fix compatibility with the latest x/tools version and update golang.org/x/tools
   739  5. Correct import path of module sourcegraph/go-diff
   740  6. Fix `max-issues-per-linter` name
   741  7. Fix linting of preprocessed files (e.g. `*.qtpl.go`, goyacc)
   742  8. Enable auto-fixing when running via pre-commit
   743  
   744  ### March 2019
   745  
   746  1. Support the newest `go vet` (with `go/analysis`)
   747  2. Support configuration of `go vet`: e.g. you can set print functions by `linters-settings.govet.settings.printf.funcs`
   748  3. Update megacheck (staticcheck) to 2019.1.1
   749  4. Add [information](https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint) about controlling space-time trade-off into README
   750  5. Exclude issues by source code line regexp by `issues.exclude-rules[i].source`
   751  6. Build and test on go 1.12
   752  7. Support `--color` option
   753  8. Update x/tools to fix c++ issues
   754  9. Include support for log level
   755  10. Sort linters list in help commands