diff --git a/doc/2020.2.html b/doc/2020.2.html index 8a3cae71..39927c73 100644 --- a/doc/2020.2.html +++ b/doc/2020.2.html @@ -11,6 +11,7 @@
  • Changed checks
  • Staticcheck 2020.2.1 release notes
  • +
  • Staticcheck 2020.2.2 release notes
  • Performance improvements

    @@ -579,3 +580,16 @@

    Staticcheck 2020.2.1 release notes

    See the Command PATH security in Go article by the Go authors for more information on this potential vulnerability. + +

    Staticcheck 2020.2.2 release notes

    + +

    + This release fixes a rare crash in Staticcheck, reduces the number of false positives, and adds support for Go 1.16's io/fs.FileMode type. +

    + + diff --git a/doc/staticcheck.html b/doc/staticcheck.html index bd3a6f40..129041c9 100644 --- a/doc/staticcheck.html +++ b/doc/staticcheck.html @@ -22,12 +22,12 @@

    Installation

    If you use Go modules, you can simply run go get honnef.co/go/tools/cmd/staticcheck to obtain the latest released version. If you're still using a GOPATH-based workflow, then the above command will instead fetch the master branch. - It is suggested that you explicitly check out the latest release tag instead, which is currently 2020.2.1. + It is suggested that you explicitly check out the latest release tag instead, which is currently 2020.2.2. One way of doing so would be as follows:

    cd $GOPATH/src/honnef.co/go/tools/cmd/staticcheck
    -git checkout 2020.2.1
    +git checkout 2020.2.2
     go get
     go install