2
0
mirror of https://github.com/guggero/chantools synced 2024-11-07 03:20:43 +00:00
chantools/.golangci.yml
2020-03-30 18:14:04 +02:00

30 lines
544 B
YAML

run:
# timeout for analysis
deadline: 4m
# Linting uses a lot of memory. Keep it under control by only running a single
# worker.
concurrency: 1
linters-settings:
govet:
# Don't report about shadowed variables
check-shadowing: false
gofmt:
# simplify code: gofmt with `-s` option, true by default
simplify: true
linters:
enable-all: true
disable:
- gochecknoglobals
- gosec
- funlen
- maligned
- interfacer
issues:
exclude-rules:
- path: cmd/chantools
linters:
- lll