From 7dbdcc58870208af59e213b10ff87e8721ef35a2 Mon Sep 17 00:00:00 2001 From: nialdaly Date: Thu, 2 Jan 2025 12:11:44 +0000 Subject: [PATCH] VALID_YEAR var set --- .golangci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 03afe06..fd6afcb 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -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