Skip to content

Commit

Permalink
Restore linters used by sg-core
Browse files Browse the repository at this point in the history
  • Loading branch information
vkmc committed Oct 14, 2024
1 parent 4b9b698 commit 536b3de
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,37 @@ issues:
- plugins/application/print
- devenv
linters:
disable-all: true
enable:
- errorlint
- revive
- ginkgolinter
- bodyclose
- depguard
- dogsled
- dupl
- errcheck
# - exhaustive
- exportloopref
# - gochecknoinits
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- goprintffuncname
- gosec
- gosimple
- govet
run:
timeout: 5m
- 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

0 comments on commit 536b3de

Please sign in to comment.