chore: disable some lint ruler

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ 2022-08-13 20:11:56 +08:00
parent 916936b9ab
commit 77991605b2
1 changed files with 6 additions and 2 deletions

View File

@ -15,7 +15,6 @@ linters:
- 'errorlint'
- 'exportloopref'
- 'gofmt'
- 'gofumpt'
- 'goheader'
- 'goimports'
- 'gomodguard'
@ -49,9 +48,14 @@ issues:
exclude:
- should have a package comment
- should have comment
# G101: Potential hardcoded credentials
- G101
# G103: Use of unsafe calls should be audited
- G103
# G404: Use of weak random number generator (math/rand instead of crypto/rand)
# G404, G401, G502, G505 weak cryptographic list
- G401
- G404
- G502
- G505
max-issues-per-linter: 0
max-same-issues: 0