vspd/.golangci.yml
jholdstock a4d21d7838 build: Add extra linters.
Some of these cover points which have recently been highlighted in
reviews, such as contexts contained in structs, slices initialized with
zero length, and periods missing from the end of comments.
2023-08-24 07:52:40 +01:00

39 lines
566 B
YAML

run:
deadline: 10m
linters:
disable-all: true
enable:
- asciicheck
- bidichk
- containedctx
- dupword
- durationcheck
- errcheck
- errchkjson
- errorlint
- exhaustive
- exportloopref
- goconst
- godot
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- makezero
- misspell
- nilerr
- nosprintfhostport
- prealloc
- predeclared
- reassign
- revive
- staticcheck
- tparallel
- typecheck
- unconvert
- unparam
- unused
- vetshadow