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 10f17e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,8 @@ 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
# disable excluding of issues about comments from revive
# see https://golangci-lint.run/usage/configuration/#command-line-options for more info
- EXC0012
- EXC0013
- EXC0014
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 10f17e1

Please sign in to comment.