Add alert lifecycle observer #56
Annotations
10 errors and 6 warnings
lint:
api/v2/api_test.go#L19
File is not `goimports`-ed with -local github.com/prometheus/alertmanager (goimports)
|
lint:
api/v2/api_test.go#L20
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint:
api/v2/api_test.go#L27
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint:
api/v2/api_test.go#L895
len: use require.Len (testifylint)
|
lint:
dispatch/dispatch.go#L18
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint:
dispatch/dispatch.go#L20
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint:
dispatch/dispatch_test.go#L643
len: use require.Len (testifylint)
|
lint:
dispatch/dispatch_test.go#L786
len: use require.Len (testifylint)
|
lint:
dispatch/dispatch_test.go#L797
len: use require.Len (testifylint)
|
lint:
notify/notify.go#L414
File is not `gofumpt`-ed with `-extra` (gofumpt)
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
dispatch/dispatch_test.go#L791
var-naming: var groupId should be groupID (revive)
|
lint:
dispatch/dispatch_test.go#L792
var-naming: var routeId should be routeID (revive)
|
lint:
notify/notify.go#L124
var-naming: const keyGroupId should be keyGroupID (revive)
|
lint:
notify/notify.go#L138
var-naming: func WithGroupId should be WithGroupID (revive)
|
lint:
notify/notify.go#L199
var-naming: func GroupId should be GroupID (revive)
|