Merge pull request #6299 from seanlaii/disable-ST1000-p-comm
Add comment for disabling ST1000 and package-comments
This commit is contained in:
commit
1417bef111
|
@ -37,6 +37,9 @@ linters:
|
||||||
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#if-return
|
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#if-return
|
||||||
- name: if-return
|
- name: if-return
|
||||||
disabled: true
|
disabled: true
|
||||||
|
# Disable package-comments for now since most packages in this project are primarily for internal use.
|
||||||
|
# If we decide to provide public packages in the future, we can move them to a separate
|
||||||
|
# repository and revisit adding package-level comments at that time.
|
||||||
- name: package-comments
|
- name: package-comments
|
||||||
disabled: true
|
disabled: true
|
||||||
- name: superfluous-else
|
- name: superfluous-else
|
||||||
|
@ -66,11 +69,11 @@ linters:
|
||||||
staticcheck:
|
staticcheck:
|
||||||
checks:
|
checks:
|
||||||
- all
|
- all
|
||||||
# Disable QF1008 to retain embedded fields for better readability
|
# Disable QF1008 to retain embedded fields for better readability.
|
||||||
- "-QF1008"
|
- "-QF1008"
|
||||||
# Exclude the following checks temporarily.
|
# Disable ST1000 (staticcheck) for now since most packages in this project are primarily for internal use.
|
||||||
# Will fix the issues in the following PRs.
|
# If we decide to provide public packages in the future, we can move them to a separate
|
||||||
# Issue: https://github.com/karmada-io/karmada/issues/6273.
|
# repository and revisit adding package-level comments at that time.
|
||||||
- "-ST1000"
|
- "-ST1000"
|
||||||
exclusions:
|
exclusions:
|
||||||
generated: lax
|
generated: lax
|
||||||
|
|
Loading…
Reference in New Issue