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 661a697 commit fe5178eCopy full SHA for fe5178e
.golangci.example.yml
@@ -143,11 +143,10 @@ linters-settings:
143
- 'example.com/package.ExampleStruct'
144
145
forbidigo:
146
- # Forbid the following identifiers
+ # Forbid the following identifiers (identifiers are written using regexp):
147
forbid:
148
- - fmt.Errorf # consider errors.Errorf in github.com/pkg/errors
149
- - fmt.Print.* # too much log noise
150
- - ginkgo\\.F.* # these are used just for local development
+ - ^print.*$
+ - 'fmt\.Print.*'
151
# Exclude godoc examples from forbidigo checks. Default is true.
152
exclude_godoc_examples: false
153
0 commit comments