Files
reniced/.golangci.yaml

66 lines
1.0 KiB
YAML

run:
tests: false
modules-download-mode: readonly
allow-parallel-runners: true
go: '1.22'
output:
sort-results: true
linters:
disable-all: true
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- unused
- asasalint
- asciicheck
- bodyclose
- containedctx
- contextcheck
- decorder
- durationcheck
- errchkjson
- errorlint
- exhaustive
- copyloopvar
- ginkgolinter
- gci
- gocheckcompilerdirectives
- gocritic
- godot
- gofmt
- gosec
- gosmopolitan
- grouper
- importas
- ireturn
- makezero
- mirror
- nakedret
- nilerr
- nilnil
- nlreturn
- noctx
- nolintlint
- nonamedreturns
- predeclared
- promlinter
- reassign
- revive
- rowserrcheck
- stylecheck
- unconvert
- wastedassign
- whitespace
- wsl
linters-settings:
govet:
enable-all: true
disable:
- nilness
- fieldalignment
# vim: set ft=yaml noet ai ts=4 sw=4 sts=4: