chore: remove deprecated golang-ci config value (#6596)
Some checks are pending
Publish Images / Build and Test (push) Waiting to run
Publish Images / Release (push) Blocked by required conditions
Build and Test / Set build metadata (push) Waiting to run
Build and Test / Build and Test (push) Blocked by required conditions
Build and Test / Test the Super-linter GitHub Action (push) Blocked by required conditions
Build and Test / Build test suite matrix (push) Waiting to run
Build and Test / Run test cases (push) Blocked by required conditions
Build and Test / Check if all the tests passed (push) Blocked by required conditions
Build and Test / preview-release-notes (push) Waiting to run
Lint commit / commitlint (push) Waiting to run

Remove deprecated maligned config value from the golang-ci configuration
file.

Close #6120
This commit is contained in:
Marco Ferrari 2025-02-22 15:40:47 +01:00 committed by GitHub
parent 1da80afdce
commit a373ff1396
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194

View file

@ -1,12 +1,5 @@
---
#########################
#########################
## Golang Linter rules ##
#########################
#########################
# configure golangci-lint
# see https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml
# Ref https://github.com/golangci/golangci-lint/blob/master/.golangci.reference.yml
issues:
exclude-rules:
- path: _test\.go
@ -36,6 +29,3 @@ linters-settings:
gocyclo:
# minimal code complexity to report, 30 by default
min-complexity: 15
maligned:
# print struct with more effective memory layout or not, false by default
suggest-new: true