diff --git a/.golangci.yml b/.golangci.yml index 4fb249e77..b3264b132 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -66,10 +66,11 @@ linters: staticcheck: checks: - all + # Disable QF1008 to retain embedded fields for better readability + - "-QF1008" # Exclude the following checks temporarily. # Will fix the issues in the following PRs. # Issue: https://github.com/karmada-io/karmada/issues/6273. - - "-QF1008" - "-ST1011" - "-QF1001" - "-ST1000"