@@ -209,27 +209,28 @@ linters-settings:
209209 values :
210210 const :
211211 # define here const type values in format k:v, for example:
212- # YEAR: 2020
213212 # COMPANY: MY COMPANY
214213 regexp :
215214 # define here regexp type values, for example
216215 # AUTHOR: .*@mycompany\.com
217- template :
216+ template : # |
218217 # put here copyright header template for source code files, for example:
219- # {{ AUTHOR }} {{ COMPANY }} {{ YEAR }}
220- # SPDX-License-Identifier: Apache-2.0
218+ # Note: {{ YEAR }} is a builtin value that returns the year relative to the current machine time.
221219 #
222- # Licensed under the Apache License, Version 2.0 (the "License");
223- # you may not use this file except in compliance with the License.
224- # You may obtain a copy of the License at:
225- #
226- # http://www.apache.org/licenses/LICENSE-2.0
227- #
228- # Unless required by applicable law or agreed to in writing, software
229- # distributed under the License is distributed on an "AS IS" BASIS,
230- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
231- # See the License for the specific language governing permissions and
232- # limitations under the License.
220+ # {{ AUTHOR }} {{ COMPANY }} {{ YEAR }}
221+ # SPDX-License-Identifier: Apache-2.0
222+
223+ # Licensed under the Apache License, Version 2.0 (the "License");
224+ # you may not use this file except in compliance with the License.
225+ # You may obtain a copy of the License at:
226+
227+ # http://www.apache.org/licenses/LICENSE-2.0
228+
229+ # Unless required by applicable law or agreed to in writing, software
230+ # distributed under the License is distributed on an "AS IS" BASIS,
231+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
232+ # See the License for the specific language governing permissions and
233+ # limitations under the License.
233234 template-path :
234235 # also as alternative of directive 'template' you may put the path to file with the template source
235236 goimports :
0 commit comments