Skip to content

Commit 527392e

Browse files
committed
fix lint issue
1 parent 36c9138 commit 527392e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ linters:
5858
- sloglint # ensure consistent code style when using log/slog [fast: false, auto-fix: false]
5959
- sqlclosecheck # Checks that sql.Rows and sql.Stmt are closed. [fast: false, auto-fix: false]
6060
- staticcheck #(megacheck): Staticcheck is a go vet on steroids, applying a ton of static analysis checks [fast: false, auto-fix: false]
61-
- tenv # tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17 [fast: false, auto-fix: false]
6261
- testifylint # Checks usage of github.com/stretchr/testify. [fast: false, auto-fix: false]
6362
- thelper # thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers [fast: false, auto-fix: false]
6463
- tparallel # tparallel detects inappropriate usage of t.Parallel() method in your Go test codes [fast: false, auto-fix: false]
@@ -94,6 +93,7 @@ linters:
9493
- wsl # Whitespace Linter - Forces you to use empty lines! [fast: true, auto-fix: false]
9594
- tagliatelle
9695
- tagalign # check that struct tags are well aligned [fast: true, auto-fix: true]
96+
- tenv # tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17 [fast: false, auto-fix: false]
9797
linters-settings:
9898
goconst:
9999
min-len: 5

0 commit comments

Comments
 (0)