add gochecknoglobals and gochecknoinits

This commit is contained in:
sentriz
2020-05-07 03:24:50 +01:00
parent ee9335f71e
commit 803a5babff
+3
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