2
0
mirror of https://github.com/guggero/chantools synced 2024-11-15 06:12:49 +00:00
chantools/.golangci.yml

30 lines
544 B
YAML
Raw Normal View History

2019-11-09 14:41:31 +00:00
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
2020-01-04 22:58:10 +00:00
- gosec
- funlen
- maligned
- interfacer
2020-01-04 22:58:10 +00:00
issues:
exclude-rules:
- path: cmd/chantools
linters:
- lll