Silence unhelpful linter error

See #1012
This commit is contained in:
Lorenzo Bolla
2022-01-26 12:08:11 +01:00
parent a83dea705f
commit 0dc49d2a70
2 changed files with 11 additions and 14 deletions

View File

@@ -3,20 +3,17 @@ run:
linters:
enable-all: false
disable-all: true
enable:
- govet
- golint
- gofmt
- deadcode
- goimports
- misspell
- ineffassign
- staticcheck
- varcheck
- structcheck
- maligned
- vetshadow
- goconst
- interfacer
- gofmt
- goimports
- govet
- ineffassign
- misspell
- revive
- staticcheck
- structcheck
- varcheck
- vetshadow

View File

@@ -3,7 +3,7 @@ package pgp
import (
"bytes"
"crypto"
"crypto/dsa"
"crypto/dsa" //nolint:staticcheck
"crypto/ecdsa"
"crypto/rsa"
"hash"