shiori/.golangci.yml

31 lines
529 B
YAML

# Docs: https://golangci-lint.run/usage/configuration/#config-file
run:
timeout: 5m
issues:
max-issues-per-linter: 0
max-same-issues: 0
exclude-dirs:
- internal/mocks
linters-settings:
gofmt:
simplify: true
govet:
enable-all: true
disable:
- fieldalignment
linters:
disable-all: true
enable:
- gofmt
- gosimple
# - govet # Re-enable when all shadow declarations are fixed
- ineffassign
- predeclared
- exportloopref
- staticcheck
- unconvert
- unused