prometheus/rules
Ben Kochie 204249fcb5
Update golangci-lint (#17478)
* Update golangci-lint to v2.6.0
* Fixup various linting issues.
* Fixup deprecations.
* Add exception for `labels.MetricName` deprecation.

Signed-off-by: SuperQ <superq@gmail.com>
2025-11-05 13:47:34 +01:00
..
fixtures Optimise concurrent rule evaluation for rules querying ALERTS and ALERTS_FOR_STATE (#17064) 2025-08-21 16:57:57 +02:00
alerting.go fix: reorder AlertState constants to start with StateUnknown, reorder String method to match constant order. 2025-10-08 22:56:35 +05:30
alerting_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
group.go Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
group_test.go
manager.go fix(rules.Manager): ensure non-nil context (#17103) 2025-08-29 10:43:59 +01:00
manager_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
origin.go
origin_test.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
recording.go Replace gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (#17151) 2025-09-06 13:04:24 +02:00
recording_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
rule.go