Skip to content

Commit 47d5dee

Browse files
committed
Update golangci-lint configuration for deprecations
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
1 parent 67b81e4 commit 47d5dee

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.golangci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
linters:
22
enable:
3-
- exportloopref # Checks for pointers to enclosing loop variables
3+
- copyloopvar
44
- gofmt
55
- goimports
66
- gosec
@@ -12,14 +12,16 @@ linters:
1212
- tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
1313
- unconvert
1414
- unused
15-
- vet
15+
- govet
1616
- dupword # Checks for duplicate words in the source code
1717
disable:
1818
- errcheck
1919

2020
run:
2121
timeout: 5m
22-
skip-dirs:
22+
23+
issues:
24+
exclude-dirs:
2325
- api
2426
- cluster
2527
- design

0 commit comments

Comments
 (0)