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
+10 -13
View File
@@ -3,20 +3,17 @@ run:
linters: linters:
enable-all: false
disable-all: true disable-all: true
enable: enable:
- govet
- golint
- gofmt
- deadcode - deadcode
- goimports
- misspell
- ineffassign
- staticcheck
- varcheck
- structcheck
- maligned
- vetshadow
- goconst - goconst
- interfacer - gofmt
- goimports
- govet
- ineffassign
- misspell
- revive
- staticcheck
- structcheck
- varcheck
- vetshadow
+1 -1
View File
@@ -3,7 +3,7 @@ package pgp
import ( import (
"bytes" "bytes"
"crypto" "crypto"
"crypto/dsa" "crypto/dsa" //nolint:staticcheck
"crypto/ecdsa" "crypto/ecdsa"
"crypto/rsa" "crypto/rsa"
"hash" "hash"