logginghandler/vendor/github.com/tetafro/godot/.golangci.yml
Marvin Preuss d095180eb4
All checks were successful
continuous-integration/drone/push Build is passing
build: uses go modules for tool handling
2022-01-14 13:51:56 +01:00

68 lines
981 B
YAML

run:
concurrency: 2
deadline: 5m
skip-dirs:
- path: ./testdata/
linters:
disable-all: true
enable:
- deadcode
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- structcheck
- typecheck
- unused
- varcheck
- bodyclose
- depguard
- dogsled
- dupl
- funlen
- gochecknoinits
- goconst
- gocritic
- gocyclo
- godot
- gofmt
- gofumpt
- goimports
- golint
- gomnd
- gomodguard
- goprintffuncname
- gosec
- lll
- maligned
- misspell
- nakedret
- nestif
- prealloc
- rowserrcheck
- scopelint
- stylecheck
- unconvert
- unparam
- whitespace
linters-settings:
godot:
check-all: true
issues:
exclude-use-default: false
exclude-rules:
- path: _test\.go
linters:
- dupl
- errcheck
- funlen
- gosec
- path: cmd/godot/main\.go
linters:
- gomnd