alertmanager/api/v2
Matthias Loibl a6d10bd5bc
Update golangci-lint and fix complaints (#2853)
* Copy latest golangci-lint files from Prometheus

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Use grafana/regexp over stdlib regexp

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Fix typos in comments

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Fix goimports complains in import sorting

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* gofumpt all Go files

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Update naming to comply with revive linter

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* config: Fix error messages to be lower case

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* test/cli: Fix error messages to be lower case

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* .golangci.yaml: Remove obsolete space

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* config: Fix expected victorOps error

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Use stdlib regexp

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>

* Clean up Go modules

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2022-03-25 17:59:51 +01:00
..
client Preferring the use of the basePath attribute 2021-11-16 00:42:43 +01:00
models Update go-openapi to latest 2021-03-10 19:00:22 +01:00
restapi Preferring the use of the basePath attribute 2021-11-16 00:42:43 +01:00
api.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
api_test.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
compat.go Update golangci-lint and fix complaints (#2853) 2022-03-25 17:59:51 +01:00
openapi.yaml Preferring the use of the basePath attribute 2021-11-16 00:42:43 +01:00