1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-01 07:04:28 +00:00
GoBlog/.golangci.yml
Jan-Lukas Else d3e3ad4913 Update dependencies
Improve script to only update direct dependencies and skip specific ones
2022-09-03 17:07:12 +02:00

41 lines
627 B
YAML

run:
timeout: 5m
issue-exit-code: 0
skip-tests: true
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:
go: "1.19"
checks: ["all"]
gostatichcheck:
go: "1.19"
checks: ["all"]
dupl:
threshold: 125