Skip to content

Commit a29768c

Browse files
authored
chore: enable golangci-lint performance checks (#124)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent a4df632 commit a29768c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.golangci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,21 @@ issues:
66
linters:
77
enable:
88
- errcheck
9-
- gosec
109
- gosimple
1110
- govet
1211
- ineffassign
1312
- staticcheck
1413
- unused
14+
# Defaults above ours below
15+
- bodyclose
16+
- fatcontext
17+
- gosec
18+
- noctx
19+
- perfsprint
20+
- prealloc
21+
#linters-settings:
22+
# errcheck:
23+
# check-type-assertions: true
1524
run:
1625
issues-exit-code: 1
1726
tests: false

0 commit comments

Comments
 (0)