We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19f99da commit be6c0e5Copy full SHA for be6c0e5
.golangci.yml
@@ -27,3 +27,6 @@ linters-settings:
27
threshold: 400
28
goheader:
29
template-path: code-header-template.txt
30
+ values:
31
+ regexp:
32
+ copyright-year: 202[1-2]
code-header-template.txt
@@ -1,2 +1,2 @@
1
-Copyright {{YEAR}} VMware, Inc.
+Copyright {{copyright-year}} VMware, Inc.
2
SPDX-License-Identifier: BSD-2-Clause
0 commit comments