Enforce use of any instead of interface{} (#30588)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
9aa4818c71
Коммит
166a676fe5
@@ -4,6 +4,9 @@ run:
|
||||
linters-settings:
|
||||
gofmt:
|
||||
simplify: true
|
||||
rewrite-rules:
|
||||
- pattern: 'interface{}'
|
||||
replacement: 'any'
|
||||
govet:
|
||||
enable-all: true
|
||||
disable:
|
||||
@@ -54,6 +57,10 @@ issues:
|
||||
- staticcheck
|
||||
text: SA1019
|
||||
|
||||
- linters:
|
||||
- gofmt
|
||||
path: "mock.*"
|
||||
|
||||
- linters:
|
||||
- errcheck
|
||||
path: "\
|
||||
|
||||
Ссылка в новой задаче
Block a user