Add alert lifecycle observer #21
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)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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)
|
Loading