Skip to content

Tags: kisielk/errcheck

Tags

v1.20.0

Toggle v1.20.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Support excludes for functions with type parameters (#278)

Go 1.26 added errors.AsType, which can appear as:

    _, ok := errors.AsType[*SomeError](err)

An exclusion file entry for errors.AsType currently does not match this
form, as described in #274. This change unwraps type parameters and
parenthesized expressions before matching selectors or identifiers for
exclusions.

Co-authored-by: Kamil Kisiel <kamil@kamilkisiel.net>

v1.10.0

Toggle v1.10.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Go versions 1.25.x and 1.26.x to workflow

v1.9.0

Toggle v1.9.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #265 from alexandear/deprecate-err-no-go-files

Deprecate ErrNoGoFiles as it's never returned

v1.8.0

Toggle v1.8.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #252 from djdv/ignore-maphash

exclude maphash methods that "never fail"

v1.7.0

Toggle v1.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Update dependencies to work with Go 1.22 (#240)

* Update dependencies to work with Go 1.22

* Add go 1.22 to the build matrix in github actions

---------

Co-authored-by: Addie Bendory <abendory@blend.com>

v1.6.3

Toggle v1.6.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add a note about `GO111MODULE` (#222)

v1.6.2

Toggle v1.6.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #215 from rmohr/comments-before-package

Calculate correct position with comments before the package keyword

v1.6.1

Toggle v1.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #213 from kisielk/embedded-nil

Handle embedded nil interfaces.

v1.6.0

Toggle v1.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #197 from SVilgelm/selector-name

Add SelectorName in UncheckedError

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #175 from tilt-dev/nicks/modvendor

Support the -mod=vendor flag for using modules in a vendor directory