updated golangci linter config
This commit is contained in:
@@ -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'
|
Reference in New Issue
Block a user