We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ddb5e7 commit a016aa8Copy full SHA for a016aa8
.golangci.example.yml
@@ -280,6 +280,9 @@ linters-settings:
280
forbid:
281
- ^print.*$
282
- 'fmt\.Print.*'
283
+ # Optionally put comments at the end of the regex, surrounded by `(# )?`
284
+ # Escape any special characters.
285
+ - 'fmt\.Print.*(# Put comments here\.)?'
286
# Exclude godoc examples from forbidigo checks.
287
# Default: true
288
exclude_godoc_examples: false
0 commit comments