blob: d2fa9cba215c8ce2bef2da8c6592fff3b7cb6394 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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*"]
|