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
2022-10-05 09:40:23 +02:00

64 lines
983 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: git.gammaspectra.live/P2Pool/go-monero
exhaustive:
default-signifies-exhaustive: true
issues:
fix: true
run:
timeout: 5m
skip-dirs:
- pkg/levin # needs to be refactored anyway