version: "2" # Focused, zero-noise set: everything enabled here must pass cleanly on the # current tree. Add a linter only after fixing (or consciously excluding) its # existing findings so `make lint` stays a hard gate. linters: default: none enable: - staticcheck - unused - unparam - ineffassign settings: staticcheck: # "all" minus the QF quickfix family: QF findings (tagged switch, # De Morgan, fmt.Fprintf rewrites) are style suggestions, not defects. checks: ["all", "-QF*"]