chore: disable some lint ruler

pull/159/head
ᴍᴏᴏɴD4ʀᴋ 2 years ago
parent 916936b9ab
commit 77991605b2
  1. 8
      .golangci.yml

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

Loading…
Cancel
Save