From 1dad15698845d370e998f7cc5feb8aece3fab58f Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 17:05:17 -0400 Subject: refactor: remove dead code, consolidate save/error handling, add lint gate --- .golangci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .golangci.yml (limited to '.golangci.yml') diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..d2fa9cb --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,17 @@ +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*"] -- cgit v1.2.3