adguardhome-sync/.golangci.yml

38 lines
532 B
YAML
Raw Normal View History

2021-11-30 05:25:01 +08:00
run:
2022-09-01 01:11:53 +08:00
timeout: 5m
2021-11-30 05:25:01 +08:00
linters:
enable:
- asciicheck
- bodyclose
- dogsled
- durationcheck
- errcheck
- errorlint
- exportloopref
- gci
- gofmt
- gofumpt
- goimports
- gosec
- gosimple
- govet
- importas
- ineffassign
- megacheck
- misspell
- nakedret
- nolintlint
- staticcheck
- unconvert
- unparam
- unused
linters-settings:
gosec:
# Exclude generated files
exclude-generated: true
gofmt:
# simplify code: gofmt with `-s` option, true by default
simplify: true
2022-09-01 01:11:53 +08:00