php-fpm-exporter/.golangci.yml

32 lines
616 B
YAML
Raw Normal View History

linters:
# please, do not use `enable-all`: it's deprecated and will be removed soon.
# inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
disable-all: true
enable:
- deadcode
- depguard
- dupl
- errcheck
# - gochecknoinits
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
2022-02-08 21:56:44 +00:00
- revive
- gosec
- gosimple
- govet
- ineffassign
# - lll
- misspell
- nakedret
2022-02-08 21:56:44 +00:00
- exportloopref
- staticcheck
- structcheck
# - typecheck
- unconvert
- unparam
- unused
- varcheck