Skip to content

Commit

Permalink
VALID_YEAR var set
Browse files Browse the repository at this point in the history
  • Loading branch information
nialdaly committed Jan 2, 2025
1 parent 5ee0cee commit 7dbdcc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ linters-settings:
const:
COMPANY: Cofide Limited
regexp:
YEAR: 202[4-9]|20[3-9][0-9]|2[1-9][0-9][0-9]
VALID_YEAR: 202[4-9]|20[3-9][0-9]|2[1-9][0-9][0-9]
# Require Cofide copyright and SPDX license in all source files.
template: |-
Copyright {{ YEAR }} {{ COMPANY }}.
Copyright {{ VALID_YEAR }} {{ COMPANY }}.
SPDX-License-Identifier: Apache-2.0

0 comments on commit 7dbdcc5

Please sign in to comment.