mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-10-13 03:37:12 +02:00
refactor: pass golang-ci lint check
This commit is contained in:
1 parent
147d57e8f4
commit
63fc3a656a
22 files changed
+112
-99
No files matched your search
+4
-2
@@ -11,7 +11,6 @@ linters:
|
||||
- 'deadcode'
|
||||
- 'depguard'
|
||||
- 'dogsled'
|
||||
- 'errcheck'
|
||||
- 'errorlint'
|
||||
- 'exportloopref'
|
||||
- 'gofmt'
|
||||
@@ -42,6 +41,7 @@ linters:
|
||||
- 'structcheck'
|
||||
- 'stylecheck'
|
||||
- 'unused'
|
||||
- 'errcheck'
|
||||
|
||||
issues:
|
||||
exclude-use-default: false
|
||||
@@ -52,7 +52,9 @@ issues:
|
||||
- G101
|
||||
# G103: Use of unsafe calls should be audited
|
||||
- G103
|
||||
# G404, G401, G502, G505 weak cryptographic list
|
||||
# G304: Potential file inclusion via variable
|
||||
- G304
|
||||
# G404, G401, G502, G505: weak cryptographic list
|
||||
- G401
|
||||
- G404
|
||||
- G502
|
||||
|
||||
Reference in new issue
Block a user