Skip to content

Commit

Permalink
Change year requirement in file headers
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Demicev <[email protected]>
  • Loading branch information
alexander-demicev committed Jan 2, 2025
1 parent 797aa2d commit 89be94c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,11 @@ linters-settings:
- name: bool-literal-in-expr
- name: constant-logical-expr
goheader:
values:
regexp:
copyright_regex: "Copyright © (\\d{4})(?: - (\\d{4}))? SUSE LLC"
template: |-
Copyright © 2023 - {{ year }} SUSE LLC
{{copyright_regex}}
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 89be94c

Please sign in to comment.