Skip to content

Commit

Permalink
chore: Exclude G115 from gosec linter
Browse files Browse the repository at this point in the history
Exclude G115 from the gosec linter to address the issue with securego/gosec#1212.
  • Loading branch information
AnkushinDaniil committed Sep 16, 2024
1 parent b34072b commit 103dc21
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ linters-settings:
exhaustruct:
include: []

gosec:
excludes:
- G115 #TODO: remove after fixing https://github.com/securego/gosec/issues/1212

linters:
disable-all: true
enable:
Expand All @@ -75,7 +79,7 @@ linters:
- dogsled
- dupl
- errcheck
- exportloopref
- copyloopvar
- funlen
- gochecknoinits
- goconst
Expand Down Expand Up @@ -108,14 +112,12 @@ linters:

# don't enable:
# - asciicheck
# - scopelint
# - gochecknoglobals
# - gocognit
# - godot
# - godox
# - goerr113
# - err113
# - interfacer
# - maligned
# - nestif
# - prealloc
# - testpackage
Expand Down

0 comments on commit 103dc21

Please sign in to comment.