add gochecknoglobals and gochecknoinits

This commit is contained in:
sentriz
2020-05-03 04:43:13 +01:00
parent ee9335f71e
commit 803a5babff

View File

@@ -11,6 +11,8 @@ linters:
- depguard
- dogsled
- errcheck
- gochecknoglobals
- gochecknoinits
- goconst
- gocritic
- gocyclo
@@ -39,6 +41,7 @@ issues:
- path: _test\.go
linters:
- errcheck
- gochecknoglobals
- text: "weak cryptographic primitive"
linters:
- gosec