Skip to content

Commit

Permalink
Merge pull request karmada-io#4503 from zhzhuang-zju/comment
Browse files Browse the repository at this point in the history
cleanup: enable revive(package-comments) checking
  • Loading branch information
karmada-bot committed Jan 4, 2024
2 parents 574db4c + b695e5d commit 34b7014
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/federatedhpa/monitor/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 34b7014

Please sign in to comment.