Merge pull request #4503 from zhzhuang-zju/comment

cleanup: enable revive(package-comments) checking
This commit is contained in:
karmada-bot 2024-01-04 18:33:28 +08:00 committed by GitHub
commit 34b701416e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ linters-settings:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#if-return
- name: if-return
disabled: true
- name: package-comments
- name: superfluous-else
arguments:
- preserveScope

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// metrics packages contains metrics which are exposed from the HPA controller.
// Package monitor contains metrics which are exposed from the HPA controller.
package monitor
import (