@@ -152,10 +152,10 @@ linters-settings:
152152 # Settings passed to gocritic.
153153 # The settings key is the name of a supported gocritic checker.
154154 # The list of supported checkers can be find in https://go-critic.github.io/overview.
155- settings :
155+ settings :
156156 captLocal : # must be valid enabled check name
157157 # whether to restrict checker to params only (default true)
158- paramsOnly : true
158+ paramsOnly : true
159159 elseif :
160160 # whether to skip balanced if-else pairs (default true)
161161 skipBalanced : true
@@ -219,13 +219,13 @@ linters-settings:
219219 #
220220 # {{ AUTHOR }} {{ COMPANY }} {{ YEAR }}
221221 # SPDX-License-Identifier: Apache-2.0
222-
222+
223223 # Licensed under the Apache License, Version 2.0 (the "License");
224224 # you may not use this file except in compliance with the License.
225225 # You may obtain a copy of the License at:
226-
226+
227227 # http://www.apache.org/licenses/LICENSE-2.0
228-
228+
229229 # Unless required by applicable law or agreed to in writing, software
230230 # distributed under the License is distributed on an "AS IS" BASIS,
231231 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -321,6 +321,11 @@ linters-settings:
321321 simple : true
322322 range-loops : true # Report preallocation suggestions on range loops, true by default
323323 for-loops : false # Report preallocation suggestions on for loops, false by default
324+ predeclared :
325+ # comma-separated list of predeclared identifiers to not report on
326+ ignore : " "
327+ # include method names and field names (i.e., qualified names) in checks
328+ q : false
324329 nolintlint :
325330 # Enable to ensure that nolint directives are all used. Default is true.
326331 allow-unused : false
0 commit comments