Skip to content

Commit ceea065

Browse files
committed
golangci-lint: enable gosec
Also exclude G115 until the following issue is resolved. securego/gosec#1212
1 parent c232606 commit ceea065

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.golangci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ linters-settings:
77
- (github.com/go-kit/kit/log.Logger).Log
88
- (*github.com/weaveworks/common/logging.Level).Set
99
- (*github.com/cortexproject/cortex/pkg/util/flagext.URLValue).Set
10+
gosec:
11+
excludes:
12+
- G115
1013

1114
linters:
1215
disable:
1316
- unused
1417
enable:
1518
- revive
19+
- gosec
1620

1721

1822
issues:
@@ -44,4 +48,4 @@ issues:
4448
- ".*\\.pb\\.go$"
4549
- ".*/out_vali\\.go$"
4650
- ".*/.*_test\\.go$"
47-
- "tests/.*"
51+
- "tests/.*"

0 commit comments

Comments
 (0)