Skip to content

Commit 7d27dea

Browse files
committed
lint: update linter config
1 parent 20e757e commit 7d27dea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.golangci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
run:
22
# timeout for analysis
33
timeout: 4m
4+
go: "1.23"
45

56
linters-settings:
67
govet:
78
# Don't report about shadowed variables
8-
check-shadowing: false
9+
shadow: false
910
gofmt:
1011
# simplify code: gofmt with `-s` option, true by default
1112
simplify: true
@@ -17,7 +18,6 @@ linters-settings:
1718
rules:
1819
json: snake
1920
staticcheck:
20-
go: "1.18"
2121
checks: ["-SA1019"]
2222
gomoddirectives:
2323
replace-allow-list:
@@ -34,7 +34,6 @@ linters:
3434
- varnamelen
3535
- wrapcheck
3636
- testpackage
37-
- gomnd
3837
- err113
3938
- exhaustruct
4039
- forbidigo

0 commit comments

Comments
 (0)