Skip to content

Commit

Permalink
Fix: copyright year doesn't have to be the current year (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
hariso authored Jan 9, 2023
1 parent 965e03a commit 8f0f2d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .golangci.goheader.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright © {{ YEAR }} Meroxa, Inc.
Copyright © {{ copyright-year }} Meroxa, 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
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ linters-settings:
ignore-tests: true
goheader:
template-path: '.golangci.goheader.template'
values:
regexp:
copyright-year: 20[2-9]\d

issues:
exclude-rules:
Expand Down

0 comments on commit 8f0f2d5

Please sign in to comment.