change default comment style of license header (#5069)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user