This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
go-monero/.golangci.yaml
Ciro S. Costa e94f6ae0dd address lint cases
Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
2021-07-17 20:54:50 -04:00

64 lines
975 B
YAML

linters:
enable:
- asciicheck
- bodyclose
- cyclop
- deadcode
- dogsled
- dupl
- durationcheck
- errcheck
- errorlint
- exhaustive
- exportloopref
- forbidigo
- forcetypeassert
- funlen
- gocognit
- goconst
- gocritic
- gocyclo
- godot
- godox
- goimports
- gosec
- govet
- ifshort
- ineffassign
- lll
- makezero
- misspell
- nakedret
- nestif
- nilerr
- noctx
- nolintlint
- paralleltest
- prealloc
- predeclared
- revive
- staticcheck
- structcheck
- testpackage
- typecheck
- unconvert
- unparam
- unused
- varcheck
- wastedassign
- whitespace
linters-settings:
goimports:
local-prefixes: github.com/cirocosta/go-monero
exhaustive:
default-signifies-exhaustive: true
issues:
fix: true
run:
timeout: 5m
skip-dirs:
- pkg/levin # needs to be refactored anyway