Skip to content

Commit

Permalink
Enable linters enabled by openstack-k8s-operators
Browse files Browse the repository at this point in the history
  • Loading branch information
vkmc committed Oct 14, 2024
1 parent edc9f6c commit 5efd895
Showing 1 changed file with 5 additions and 31 deletions.
36 changes: 5 additions & 31 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,37 +21,11 @@ issues:
- plugins/application/print
- devenv
linters:
disable-all: true
enable:
- bodyclose
- depguard
- dogsled
- dupl
- errcheck
# - exhaustive
- exportloopref
# - gochecknoinits
- goconst
- gocritic
- gocyclo
- errorlint
- revive
- ginkgolinter
- gofmt
- goimports
- goprintffuncname
- gosec
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- noctx
- nolintlint
- revive
- staticcheck
- stylecheck
- typecheck
# - unused
- unconvert
# NOTE: not all application plugins use ability to emit internal events through
# passed bus function in it's constructor.
#- unparam
# - whitespace
run:
timeout: 5m

0 comments on commit 5efd895

Please sign in to comment.