Update linters to use t.Setenv
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
parent
2d59a39445
commit
62c846b17b
@ -12,6 +12,8 @@ linters:
|
||||
- unused
|
||||
- misspell
|
||||
- gosec
|
||||
- exportloopref # Checks for pointers to enclosing loop variables
|
||||
- tenv # Detects using os.Setenv instead of t.Setenv since Go 1.17
|
||||
disable:
|
||||
- errcheck
|
||||
|
||||
@ -38,6 +40,10 @@ run:
|
||||
timeout: 8m
|
||||
skip-dirs:
|
||||
- api
|
||||
- cluster
|
||||
- design
|
||||
- docs
|
||||
- docs/man
|
||||
- releases
|
||||
- reports
|
||||
- test # e2e scripts
|
||||
|
Loading…
Reference in New Issue
Block a user