monero-exporter/.golangci.yaml
Ciro S. Costa 31f5a6f84b port over code from monero-operator
the code has been initially written under `monero-operator`, but it
turns out that having the exporter available for non-kubernetes users is
pretty good, thus, making it its own separate thing.

Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-06-26 10:54:14 -04:00

63 lines
963 B
YAML

linters:
enable:
- asciicheck
- bodyclose
- cyclop
- deadcode
- dogsled
- dupl
- durationcheck
- errcheck
- errorlint
- exhaustive
- exportloopref
- forbidigo
- forcetypeassert
- funlen
- gocognit
- goconst
- gocritic
- gocyclo
- godot
- godox
- goerr113
- goimports
- gosec
- govet
- ifshort
- ineffassign
- lll
- makezero
- misspell
- nakedret
- nestif
- nilerr
- nlreturn
- noctx
- nolintlint
- paralleltest
- prealloc
- predeclared
- revive
- staticcheck
- structcheck
- tagliatelle
- testpackage
- typecheck
- unconvert
- unparam
- unused
- varcheck
- wastedassign
- whitespace
- wrapcheck
linters-settings:
goimports:
local-prefixes: github.com/cirocosta/monero-exporter
exhaustive:
default-signifies-exhaustive: true
run:
timeout: 5m