X Tutup
Skip to content

Commit 62c846b

Browse files
committed
Update linters to use t.Setenv
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
1 parent 2d59a39 commit 62c846b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.golangci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ linters:
1212
- unused
1313
- misspell
1414
- gosec
15+
- exportloopref # Checks for pointers to enclosing loop variables
16+
- tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
1517
disable:
1618
- errcheck
1719

@@ -38,6 +40,10 @@ run:
3840
timeout: 8m
3941
skip-dirs:
4042
- api
43+
- cluster
4144
- design
4245
- docs
4346
- docs/man
47+
- releases
48+
- reports
49+
- test # e2e scripts

0 commit comments

Comments
 (0)
X Tutup