@@ -262,15 +262,15 @@ linters:
262
262
fast : true
263
263
264
264
# Defines a set of rules to ignore issues.
265
- # It does not skip the analysis, and so don't ignore "typecheck" errors.
265
+ # It does not skip the analysis, and so does not ignore "typecheck" errors.
266
266
exclusions :
267
267
# Mode of the generated files analysis.
268
268
#
269
- # - `strict`: sources are excluded by following strictly the Go generated file convention.
269
+ # - `strict`: sources are excluded by strictly following the Go generated file convention.
270
270
# Source files that have lines matching only the following regular expression will be excluded: `^// Code generated .* DO NOT EDIT\.$`
271
271
# This line must appear before the first non-comment, non-blank text in the file.
272
272
# https://go.dev/s/generatedcode
273
- # - `lax`: sources are excluded if they contain lines `autogenerated file`, `code generated`, `do not edit`, etc.
273
+ # - `lax`: sources are excluded if they contain lines like `autogenerated file`, `code generated`, `do not edit`, etc.
274
274
# - `disable`: disable the generated files exclusion.
275
275
#
276
276
# Default: lax
@@ -303,7 +303,7 @@ linters:
303
303
304
304
# Exclude known linters from partially hard-vendored code,
305
305
# which is impossible to exclude via `nolint` comments.
306
- # `/` will be replaced by current OS file path separator to properly work on Windows.
306
+ # `/` will be replaced by the current OS file path separator to properly work on Windows.
307
307
- path : internal/hmac/
308
308
text : " weak cryptographic primitive"
309
309
linters :
@@ -320,10 +320,7 @@ linters:
320
320
source : " ^//go:generate "
321
321
322
322
# Which file paths to exclude: they will be analyzed, but issues from them won't be reported.
323
- # There is no need to include all autogenerated files,
324
- # we confidently recognize autogenerated files.
325
- # If it's not, please let us know.
326
- # "/" will be replaced by current OS file path separator to properly work on Windows.
323
+ # "/" will be replaced by the current OS file path separator to properly work on Windows.
327
324
# Default: []
328
325
paths :
329
326
- " .*\\ .my\\ .go$"
0 commit comments