Files
elect/.golangci.yaml
Ian Gulliver 7c3e760759 Test failover
2023-06-04 13:44:26 -07:00

47 lines
775 B
YAML

linters:
enable-all: true
disable:
# re-enable when working
- rowserrcheck
- wastedassign
# maybe enable these
- wrapcheck
# leave these disabled
- cyclop
- deadcode
- dupl
- exhaustivestruct
- exhaustruct
- forbidigo
- forcetypeassert
- funlen
- gochecknoglobals
- gocognit
- goconst
- godox
- golint
- gomnd
- ifshort
- interfacer
- lll
- maintidx
- maligned
- nilnil
- nestif
- nlreturn
- nolintlint
- nosnakecase
- scopelint
- structcheck
- thelper
- varcheck
- varnamelen
linters-settings:
tagliatelle:
case:
use-field-name: true
rules:
json: goCamel
wsl:
allow-separated-leading-comment: true