Skip to content

Commit

Permalink
Update .golangci.yml file to include comments check rule
Browse files Browse the repository at this point in the history
Signed-off-by: iawia002 <[email protected]>
  • Loading branch information
iawia002 committed Oct 26, 2021
1 parent dfe22ab commit a862d0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ linters-settings:
issues:
# The list of ids of default excludes to include or disable. By default it's empty.
include:
- EXC0002 # disable excluding of issues about comments from golint
- EXC0012 # disable excluding of issues about comments from revive
3 changes: 2 additions & 1 deletion pkg/controllers/binding/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ import (
)

const (
// FullyAppliedSuccessReason defines the name for the FullyAppliedSuccess condition.
FullyAppliedSuccessReason = "FullyAppliedSuccess"

// FullyAppliedSuccessMessage defines the message for the FullyAppliedSuccess condition.
FullyAppliedSuccessMessage = "All works have been successfully applied"
)

Expand Down

0 comments on commit a862d0f

Please sign in to comment.