unarr/.golangci.yml
Deivid Soto efa4562acd
Some checks failed
Release / release (push) Failing after 1s
Release / docker (push) Has been skipped
Release / virustotal (push) Failing after 0s
refactor: migrate lint config to v2, remove daemon auto-upgrade, add trust badges
2026-03-30 23:24:16 +02:00

47 lines
771 B
YAML

version: "2"
run:
timeout: 5m
linters:
enable:
- errcheck
- govet
- ineffassign
- staticcheck
- unused
- gosec
- bodyclose
- copyloopvar
- durationcheck
- errname
- errorlint
- exhaustive
- misspell
- nilerr
- prealloc
- unconvert
- unparam
- wastedassign
settings:
gosec:
excludes:
- G104 # Allow unhandled errors in fire-and-forget (notifications)
errcheck:
exclude-functions:
- (*os/exec.Cmd).Start # Fire-and-forget for notifications
exhaustive:
default-signifies-exhaustive: true
misspell:
locale: US
exclusions:
paths:
- dist
formatters:
enable:
- gofmt
- goimports
exclusions:
paths:
- dist