Skip to content

Add nilerr linter.#1788

Merged
ldez merged 1 commit into
golangci:masterfrom
ldez:feat/new-linter-errnil
Feb 26, 2021
Merged

Add nilerr linter.#1788
ldez merged 1 commit into
golangci:masterfrom
ldez:feat/new-linter-errnil

Conversation

@ldez
Copy link
Copy Markdown
Member

@ldez ldez commented Feb 26, 2021

Finds the code that returns nil even if it checks that the error is not nil.

https://github.com/gostaticanalysis/nilerr

Related to #1787

@ldez ldez added the linter: new Support new linter label Feb 26, 2021
@ldez ldez changed the title Add errnil linter. Add nilerr linter. Feb 26, 2021
@ldez ldez force-pushed the feat/new-linter-errnil branch from 9fdc871 to a977799 Compare February 26, 2021 20:50
@ldez ldez force-pushed the feat/new-linter-errnil branch from a977799 to 0ae50f7 Compare February 26, 2021 20:53
Copy link
Copy Markdown
Member

@SVilgelm SVilgelm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you

@ldez ldez merged commit 66fc779 into golangci:master Feb 26, 2021
@ldez ldez deleted the feat/new-linter-errnil branch February 26, 2021 21:12
This was referenced Mar 7, 2021
@ldez ldez added this to the v1.38 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linter: new Support new linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants