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