Skip to content

Commit

Permalink
Merge pull request #162 from damdo/fix-year-linting
Browse files Browse the repository at this point in the history
golangci-lint: fix header year linting
  • Loading branch information
openshift-merge-robot authored Jan 13, 2023
2 parents 63f2074 + 74054ec commit 7f66c34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,11 @@ linters:
- wsl
linters-settings:
goheader:
values:
regexp:
license-year: (202[2-9]|20[3-9][0-9])
template: |-
Copyright {{YEAR}} Red Hat, Inc.
Copyright {{license-year}} Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 7f66c34

Please sign in to comment.