1
mirror of https://github.com/jlelse/GoBlog synced 2024-07-15 11:42:58 +00:00
GoBlog/.golangci.yml

39 lines
593 B
YAML

run:
timeout: 5m
issues-exit-code: 0
tests: false
build-tags:
- linux
- libsqlite3
- sqlite_fts5
linters:
enable:
# Default linters
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
# Other linters
- asasalint
- bidichk
- bodyclose
- containedctx
# - contextcheck
- dupl
- durationcheck
- gofmt
- gosec
- makezero
- noctx
- prealloc
- unparam
linters-settings:
gosimple:
checks: ["all"]
staticcheck:
checks: ["all"]
dupl:
threshold: 125