mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-12 15:50:15 -08:00
fix: use-any from revive (#8810)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -141,7 +141,6 @@ linters:
|
||||
exclusions:
|
||||
generated: lax
|
||||
paths:
|
||||
- "examples/*"
|
||||
- "pkg/iac/scanners/terraform/parser/funcs" # copies of Terraform functions
|
||||
rules:
|
||||
- path: ".*_test.go$"
|
||||
@@ -165,9 +164,6 @@ linters:
|
||||
linters:
|
||||
- gocritic
|
||||
text: "importShadow:"
|
||||
- linters:
|
||||
- perfsprint
|
||||
text: "fmt.Sprint"
|
||||
- linters:
|
||||
- goconst
|
||||
text: "string `each` has 3 occurrences, make it a constant" # FIXME
|
||||
@@ -189,9 +185,6 @@ formatters:
|
||||
|
||||
exclusions:
|
||||
generated: lax
|
||||
paths:
|
||||
- examples/*
|
||||
- pkg/iac/scanners/terraform/parser/funcs # copies of Terraform functions
|
||||
|
||||
settings:
|
||||
gci:
|
||||
@@ -203,8 +196,5 @@ formatters:
|
||||
- dot
|
||||
gofmt:
|
||||
simplify: false
|
||||
rewrite-rules:
|
||||
- pattern: interface{}
|
||||
replacement: any
|
||||
|
||||
version: "2"
|
||||
|
||||
Reference in New Issue
Block a user