updated golangci linter config

This commit is contained in:
2022-11-20 19:19:47 +01:00
parent 741fe4c4dd
commit 4b2c948a9f

View File

@@ -13,6 +13,7 @@ linters-settings:
- style
disabled-checks:
- whyNoLint
- filepathJoin
gomnd:
checks:
- argument
@@ -28,6 +29,9 @@ linters-settings:
- '5'
ignored-functions:
- strings.SplitN
- os.OpenFile
- os.MkdirAll
- os.WriteFile
govet:
check-shadowing: false
lll:
@@ -68,6 +72,3 @@ linters:
- unparam
- unused
- whitespace
run:
go: '1.18'