Add comment for disabling QF1008

Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
This commit is contained in:
wei-chenglai 2025-04-12 13:28:00 -04:00
parent 1d2515901b
commit 596172923b
1 changed files with 2 additions and 1 deletions

View File

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