Skip to content

Commit bb97d18

Browse files
[create-pull-request] automated change
1 parent d574f35 commit bb97d18

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.golangci.reference.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ linters-settings:
12861286
min-complexity: 10
12871287

12881288
godot:
1289-
# Comments to be checked: `declarations`, `toplevel`, or `all`.
1289+
# Comments to be checked: `declarations`, `toplevel`, `noinline` or `all`.
12901290
# Default: declarations
12911291
scope: toplevel
12921292
# List of regexps for excluding particular comment lines from check.
@@ -1346,27 +1346,25 @@ linters-settings:
13461346
# Define here regexp type values.
13471347
# for example:
13481348
AUTHOR: .*@mycompany\.com
1349-
# The template use for checking.
1349+
# The template used for checking.
1350+
# Put here copyright header template for source code files
1351+
# Note: {{ YEAR }} is a builtin value that returns the year relative to the current machine time.
13501352
# Default: ""
13511353
template: |-
1352-
# Put here copyright header template for source code files
1353-
# For example:
1354-
# Note: {{ YEAR }} is a builtin value that returns the year relative to the current machine time.
1355-
#
1356-
# {{ AUTHOR }} {{ COMPANY }} {{ YEAR }}
1357-
# SPDX-License-Identifier: Apache-2.0
1358-
1359-
# Licensed under the Apache License, Version 2.0 (the "License");
1360-
# you may not use this file except in compliance with the License.
1361-
# You may obtain a copy of the License at:
1362-
1363-
# http://www.apache.org/licenses/LICENSE-2.0
1364-
1365-
# Unless required by applicable law or agreed to in writing, software
1366-
# distributed under the License is distributed on an "AS IS" BASIS,
1367-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1368-
# See the License for the specific language governing permissions and
1369-
# limitations under the License.
1354+
{{ AUTHOR }} {{ COMPANY }} {{ YEAR }}
1355+
SPDX-License-Identifier: Apache-2.0
1356+
1357+
Licensed under the Apache License, Version 2.0 (the "License");
1358+
you may not use this file except in compliance with the License.
1359+
You may obtain a copy of the License at:
1360+
1361+
http://www.apache.org/licenses/LICENSE-2.0
1362+
1363+
Unless required by applicable law or agreed to in writing, software
1364+
distributed under the License is distributed on an "AS IS" BASIS,
1365+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1366+
See the License for the specific language governing permissions and
1367+
limitations under the License.
13701368
# As alternative of directive 'template', you may put the path to file with the template source.
13711369
# Useful if you need to load the template from a specific file.
13721370
# Default: ""
@@ -2580,6 +2578,8 @@ linters-settings:
25802578
severity: warning
25812579
disabled: false
25822580
exclude: [""]
2581+
arguments:
2582+
- "xerrors.New"
25832583
# https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#errorf
25842584
- name: errorf
25852585
severity: warning

assets/linters-info.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@
11951195
"since": "v1.43.0",
11961196
"deprecation": {
11971197
"since": "v1.64.0",
1198-
"message": "Duplicate feature another linter.",
1198+
"message": "Duplicate feature in another linter.",
11991199
"replacement": "usetesting"
12001200
}
12011201
},

0 commit comments

Comments
 (0)