Merge pull request #867 from iawia002/fix-lint
Update .golangci.yml file to include comments check rule
This commit is contained in:
commit
76ee54f2a3
|
@ -56,4 +56,8 @@ linters-settings:
|
||||||
issues:
|
issues:
|
||||||
# The list of ids of default excludes to include or disable. By default it's empty.
|
# The list of ids of default excludes to include or disable. By default it's empty.
|
||||||
include:
|
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
|
||||||
|
|
|
@ -25,8 +25,9 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
// FullyAppliedSuccessReason defines the name for the FullyAppliedSuccess condition.
|
||||||
FullyAppliedSuccessReason = "FullyAppliedSuccess"
|
FullyAppliedSuccessReason = "FullyAppliedSuccess"
|
||||||
|
// FullyAppliedSuccessMessage defines the message for the FullyAppliedSuccess condition.
|
||||||
FullyAppliedSuccessMessage = "All works have been successfully applied"
|
FullyAppliedSuccessMessage = "All works have been successfully applied"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue