mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2026-02-14 10:00:14 +00:00
* chore: migrate golangcilint to v2 config Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> * chore: update golangci-lint version in build workflow Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> * bump golagci-lint action to v8 Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> --------- Signed-off-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com> Co-authored-by: Tyler Auerbeck <tylerauerbeck@users.noreply.github.com>
29 lines
442 B
YAML
29 lines
442 B
YAML
version: "2"
|
|
linters:
|
|
default: none
|
|
enable:
|
|
- gocyclo
|
|
- govet
|
|
- misspell
|
|
exclusions:
|
|
generated: lax
|
|
presets:
|
|
- comments
|
|
- common-false-positives
|
|
- legacy
|
|
- std-error-handling
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|
|
formatters:
|
|
enable:
|
|
- gofmt
|
|
- goimports
|
|
exclusions:
|
|
generated: lax
|
|
paths:
|
|
- third_party$
|
|
- builtin$
|
|
- examples$
|