Matthieu MOREL
b81bad8711
use Go standard errors
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2023-12-08 16:44:13 +01:00
Ben Kochie
0c6393b3f4
Update golanci-lint ( #3632 )
...
Update golangci-lint from upstream Prometheus and fixup issues.
Signed-off-by: SuperQ <superq@gmail.com>
2023-12-07 16:42:42 +00:00
Ben Kochie
87d3ee7554
Cleanup golangci-lint errcheck ( #3502 )
...
Move the errcheck excludes list from an external file to inline in the
golangci-lint config file.
Signed-off-by: SuperQ <superq@gmail.com>
2023-09-04 09:40:11 +01:00
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
Simon Pasquier
48a99764a1
*: bump to Go 1.17 ( #2792 )
...
* *: bump to Go 1.17
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* *: fix yamllint errors
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2021-12-22 14:03:53 +01:00
SuperQ
99f64e944b
Update build
...
* Drop /vendor.
* Update Go to 1.16.
* Update djfarrelly/maildev to 1.1.0.
* Update protoc to 3.15.8.
* Update mixin test for Go 1.16.
* Bump Go modules.
Signed-off-by: SuperQ <superq@gmail.com>
2021-04-22 13:11:44 +02:00
Simon Pasquier
f32ad1dd8b
*: enable default linters ( #1861 )
...
* *: enable default linters
* Remove direct usage of errcheck
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-04-29 10:54:40 +02:00
Simon Pasquier
8dce9ac61f
Add .golangci.yml
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-04-25 10:44:57 +02:00