mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-12 22:38:46 -04:00
docs: add gosec G602 to includes/excludes inside .golangci.reference.yml (#4110)
This commit is contained in:
parent
88a40c6924
commit
dafe1469eb
1 changed files with 2 additions and 0 deletions
|
@ -851,6 +851,7 @@ linters-settings:
|
|||
- G504 # Import blocklist: net/http/cgi
|
||||
- G505 # Import blocklist: crypto/sha1
|
||||
- G601 # Implicit memory aliasing of items from a range statement
|
||||
- G602 # Slice access out of bounds
|
||||
|
||||
# To specify a set of rules to explicitly exclude.
|
||||
# Available rules: https://github.com/securego/gosec#available-rules
|
||||
|
@ -890,6 +891,7 @@ linters-settings:
|
|||
- G504 # Import blocklist: net/http/cgi
|
||||
- G505 # Import blocklist: crypto/sha1
|
||||
- G601 # Implicit memory aliasing of items from a range statement
|
||||
- G602 # Slice access out of bounds
|
||||
|
||||
# Exclude generated files
|
||||
# Default: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue