blocky/.golangci.yml

56 lines
830 B
YAML
Raw Normal View History

2020-01-12 18:23:35 +01:00
linters:
enable:
- govet
- errcheck
- staticcheck
- unused
- gosimple
- structcheck
- varcheck
- ineffassign
- deadcode
- typecheck
- bodyclose
2021-09-18 22:41:01 +02:00
- revive
- stylecheck
- gosec
- unconvert
- dupl
- goconst
- gocyclo
- gocognit
- gofmt
- goimports
- depguard
- misspell
- lll
- unparam
- dogsled
- funlen
- gochecknoglobals
- gochecknoinits
- gocritic
- godox
- nakedret
- prealloc
- whitespace
- wsl
2021-04-30 22:45:38 +02:00
- exportloopref
disable:
- noctx
2021-09-18 22:41:01 +02:00
- scopelint
2020-01-12 18:23:35 +01:00
disable-all: false
presets:
- bugs
- unused
fast: false
2020-01-12 18:23:35 +01:00
issues:
exclude-rules:
# Exclude some linters from running on tests files.
- path: _test\.go
linters:
- gochecknoglobals
- dupl