File tree 5 files changed +38
-19
lines changed
5 files changed +38
-19
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2024 Tetrate
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ header :
16
+ license :
17
+ spdx-id : Apache-2.0
18
+ copyright-owner : Tetrate
19
+ paths-ignore :
20
+ - ' **/go.mod'
21
+ - ' **/go.sum'
22
+ - ' **/*.md'
23
+ - ' **/*.lock'
24
+ - ' **/*.txt'
25
+ - ' **/*.json'
26
+ - ' **/*.crt'
27
+ - ' **/*.csr'
28
+ - ' **/*.srl'
29
+ - ' **/*.key'
30
+ - ' **/.gitignore'
31
+ - ' **/kubeconfig'
32
+ - ' **/bin/*'
33
+ - LICENSE
34
+ - CODEOWNERS
35
+ - ' config/**/*.go'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ lint: $(GOLANGCI_LINT_CONFIG) config/lint ## Lint checks for all Go code
203
203
.PHONY : format
204
204
format : go.mod # # Format all Go code
205
205
@echo " Formatting code"
206
- @go run $(LICENSER ) apply -r " Tetrate "
206
+ @@ go run $(SWEYES ) header fix
207
207
@go run $(GOSIMPORTS ) -local $(GO_MODULE ) -w .
208
208
@gofmt -w .
209
209
Original file line number Diff line number Diff line change 1
- # Copyright 2023 Tetrate
1
+ # Copyright 2024 Tetrate
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ NAME ?= authservice
20
20
21
21
GOLANGCI_LINT ?= github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61.0
22
22
GOSIMPORTS ?= github.com/rinchsan/gosimports/cmd/gosimports@v0.3.8
23
- LICENSER ?= github.com/liamawhite/licenser @v0.6.1-0.20210729145742-be6c77bf6a1f
23
+ SWEYES ?= github.com/apache/skywalking-eyes/cmd/license-eye @v0.6.0
24
24
KIND ?= sigs.k8s.io/kind@v0.18.0
25
25
ENVTEST ?= sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
26
26
You can’t perform that action at this time.
0 commit comments