Skip to content

Commit

Permalink
Adopt Kubernetes change: disable staticcheck
Browse files Browse the repository at this point in the history
Signed-off-by: RainbowMango <[email protected]>
  • Loading branch information
RainbowMango committed Jul 27, 2023
1 parent bc9c0e2 commit b6135f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ linters-settings:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#if-return
- name: if-return
disabled: true
staticcheck:
checks:
- all
- '-SA1019' # disable deprecation check. Tracked by https://github.com/karmada-io/karmada/issues/3835.

issues:
# The list of ids of default excludes to include or disable. By default it's empty.
Expand Down

0 comments on commit b6135f5

Please sign in to comment.