diff --git a/.golangci.yml b/.golangci.yml index 36ce6ef4b..c117e0d03 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -28,6 +28,9 @@ linters-settings: min-complexity: 6 goheader: template-path: code-header-template.txt + values: + const: + year-range: "2018" issues: exclude-rules: diff --git a/code-header-template.txt b/code-header-template.txt index 9a2d19a76..68cb152e5 100644 --- a/code-header-template.txt +++ b/code-header-template.txt @@ -1,5 +1,5 @@ Vikunja is a to-do list application to facilitate your life. -Copyright 2018-2021 Vikunja and contributors. All rights reserved. +Copyright {{year-range}} Vikunja and contributors. All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public Licensee as published by