Skip to content

Commit

Permalink
golangci: adjust config for internal folder
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
  • Loading branch information
Jakob3xD committed Mar 13, 2024
1 parent 932b9b3 commit 4a5d2b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ issues:
- EXC0012
- EXC0014
exclude-rules:
- path: (_test\.go|opensearchapi/internal)
- path: (_test\.go|internal/)
linters:
- cyclop
- dupl
Expand All @@ -152,7 +152,7 @@ issues:
- linters:
- gosec
text: "TLS InsecureSkipVerify set true"
path: _test\.go
path: (_test\.go|internal/)
- linters:
- gosec
text: "G108: Profiling endpoint is automatically exposed on /debug/pprof"
Expand Down

0 comments on commit 4a5d2b0

Please sign in to comment.