feat: use automatic year-range for goheader template #1483
@ -28,6 +28,9 @@ linters-settings:
|
||||
min-complexity: 6
|
||||
goheader:
|
||||
template-path: code-header-template.txt
|
||||
values:
|
||||
const:
|
||||
year-range: "2018"
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user