Skip to content

Commit af2d6de

Browse files
authored
Merge pull request #1825 from mmorel-35/golangci-lint/govet
chore: enable govet linter
2 parents 3c34181 + 10be661 commit af2d6de

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.golangci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ linters:
2020
- gocritic
2121
- gomodguard
2222
- gosec
23+
- govet
2324
- importas
2425
- misspell
2526
- nakedret
@@ -33,7 +34,6 @@ linters:
3334
- usetesting
3435
disable:
3536
- errcheck
36-
- govet
3737
- ineffassign
3838
- staticcheck
3939
- unused
@@ -51,6 +51,13 @@ linters:
5151
gosec:
5252
excludes:
5353
- G115
54+
govet:
55+
disable:
56+
- copylocks
57+
- fieldalignment
58+
- shadow
59+
- testinggoroutine
60+
enable-all: true
5461
perfsprint:
5562
# Optimizes even if it requires an int or uint type cast.
5663
int-conversion: true

0 commit comments

Comments
 (0)