Skip to content

Commit db6ed1e

Browse files
Merge pull request #337 from hyperledger/fix_lint
Relax year check on copyright header in golangci lint
2 parents a1b2e5d + 07bcccc commit db6ed1e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.golangci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ linters-settings:
2222
values:
2323
regexp:
2424
COMPANY: .*
25+
YEAR: '\d\d\d\d(-\d\d\d\d)?'
2526
template: |-
2627
Copyright © {{ YEAR }} {{ COMPANY }}
2728

cmd/init_fabric.go

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
///
21
// Copyright © 2024 Kaleido, Inc.
32
//
43
// SPDX-License-Identifier: Apache-2.0

0 commit comments

Comments
 (0)