Skip to content

Commit

Permalink
improve linter doc (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Jan 6, 2025
1 parent ef87e2e commit 5105fb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linter.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

const (
linterName = "nilnesserr"
linterDoc = `This linter reports that it checks for err != nil, but it returns a different nil value error.
powered by nilness and nilerr.`
linterDoc = `Reports constructs that checks for err != nil, but returns a different nil value error.
Powered by nilness and nilerr.`

linterMessage = "return a nil value error after check error"
)
Expand Down

0 comments on commit 5105fb2

Please sign in to comment.