Skip to content

Commit

Permalink
Silence unhelpful linter error
Browse files Browse the repository at this point in the history
See #1012
  • Loading branch information
lbolla committed Jan 26, 2022
1 parent 6bcc051 commit aac176f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
15 changes: 6 additions & 9 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,17 @@ run:


linters:
enable-all: false
disable-all: true
enable:
- govet
- golint
- gofmt
- deadcode
- goconst
- gofmt
- goimports
- misspell
- govet
- ineffassign
- misspell
- revive
- staticcheck
- varcheck
- structcheck
- maligned
- varcheck
- vetshadow
- goconst
- interfacer
2 changes: 1 addition & 1 deletion pgp/openpgp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package pgp
import (
"bytes"
"crypto"
"crypto/dsa"
"crypto/dsa" //nolint:staticcheck
"crypto/ecdsa"
"crypto/rsa"
"hash"
Expand Down

0 comments on commit aac176f

Please sign in to comment.