diff options
| author | historia <[not public]> | 2026-09-16 17:05:17 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-16 17:05:17 -0400 |
| commit | 1dad15698845d370e998f7cc5feb8aece3fab58f (patch) | |
| tree | 8d58058782de9f422573e1f8efd5d130ce7d1ce9 /.golangci.yml | |
| parent | a6cf03a6ae98e4fb675da25046d148e92bcf7206 (diff) | |
| download | thehouseoficarus-1dad15698845d370e998f7cc5feb8aece3fab58f.tar.gz | |
refactor: remove dead code, consolidate save/error handling, add lint gate
Diffstat (limited to '.golangci.yml')
| -rw-r--r-- | .golangci.yml | 17 |
1 files changed, 17 insertions, 0 deletions
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*"] |
