GoBlog/.golangci.yml

41 lines
627 B
YAML
Raw Normal View History

run:
timeout: 5m
issue-exit-code: 0
skip-tests: true
build-tags:
- linux
- libsqlite3
- sqlite_fts5
linters:
enable:
# Default linters
- errcheck
- gosimple
- govet
- ineffassign
2022-08-07 10:46:49 +00:00
- staticcheck
- typecheck
- unused
# Other linters
2022-08-07 10:46:49 +00:00
- asasalint
- bidichk
- bodyclose
- containedctx
- contextcheck
- dupl
2022-08-07 10:46:49 +00:00
- durationcheck
- gofmt
2022-08-07 10:46:49 +00:00
- gosec
- makezero
- noctx
- prealloc
- unparam
linters-settings:
gosimple:
go: "1.19"
checks: ["all"]
gostatichcheck:
go: "1.19"
2022-02-26 19:38:52 +00:00
checks: ["all"]
dupl:
threshold: 125