change default comment style of license header (#5069)

This commit is contained in:
andrew_li
2022-07-19 10:49:49 +08:00
committed by GitHub
parent 23cec5886c
commit 0726cf591f
2 changed files with 9 additions and 1 deletions

View File

@@ -58,5 +58,13 @@ header:
- '.gitignore'
- '.gitattributes'
- 'pkg/controller/application/status.go'
- '.golangci.yaml'
comment: on-failure
license-location-threshold: 80
language:
Go:
extensions:
- ".go"
comment_style_id: SlashAsterisk

View File

@@ -35,7 +35,7 @@ then
# Install skywalking-eyes
echo 'installing skywalking-eyes '
pushd "${KUBE_ROOT}/hack/tools" >/dev/null
go install github.com/apache/skywalking-eyes/cmd/license-eye@v0.2.0
go install github.com/apache/skywalking-eyes/cmd/license-eye@v0.4.0
popd >/dev/null
fi