mirror of
https://github.com/cirocosta/monero-exporter.git
synced 2024-10-01 08:25:41 -04:00
31f5a6f84b
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>
63 lines
963 B
YAML
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
|