Staticcheck - The advanced Go linter
This release addresses the following false positives, crashes, and infinite loops:
Staticcheck 2022.1 adds support for Go 1.18 and generics, adds and tweaks some checks, and introduces the new -matrix
and -merge
flags.
Read the full release notes at https://staticcheck.io/changes/2022.1
This release fixes some false positives and crashes.
Read the full release notes at https://staticcheck.io/changes/2021.1/#2021.1.2
This release adds support for new language features in Go 1.17, namely conversions from slices to array pointers, the unsafe.Add function, and the unsafe.Slice function.
Additionally, it fixes some false positives.
Read the full release notes at https://staticcheck.io/changes/2021.1#2021.1.1
Read the full release notes at https://staticcheck.io/changes/2021.1
This release fixes a crash and some false positives.
Read the full release notes at https://staticcheck.io/changes/2020.2#2020.2.4
This release fixes a false positive in U1000. See #942 for details.
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.
Read the full release notes at https://staticcheck.io/changes/2020.2#2020.2.2
This release eliminates some false negatives as well as false positives, makes the staticcheck
command less noisy and fixes a potential security issue.
See the full release notes at https://staticcheck.io/changes/2020.2#2020.2.1
Read the full release notes at https://staticcheck.io/changes/2020.2