|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
service:
|
|
|
|
|
# When updating this, also update the version stored in docker/build-tools/Dockerfile in the istio/tools repo.
|
|
|
|
|
golangci-lint-version: 1.49.x # use the fixed version to not introduce new linters unexpectedly
|
|
|
|
|
golangci-lint-version: 1.51.x # use the fixed version to not introduce new linters unexpectedly
|
|
|
|
|
|
|
|
|
|
run:
|
|
|
|
|
concurrency: 4
|
|
|
|
@ -127,6 +126,11 @@ issues:
|
|
|
|
|
- errcheck
|
|
|
|
|
- maligned
|
|
|
|
|
|
|
|
|
|
# keep it until we only support go1.20
|
|
|
|
|
- linters:
|
|
|
|
|
- staticcheck
|
|
|
|
|
text: "SA1019: rand.Seed has been deprecated"
|
|
|
|
|
|
|
|
|
|
# Independently from option `exclude` we use default exclude patterns,
|
|
|
|
|
# it can be disabled by this option. To list all
|
|
|
|
|
# excluded by default patterns execute `golangci-lint run --help`.
|
|
|
|
|