ci: Add explanation in forbidigo (#12140)
This commit is contained in:
parent
eae3df60d5
commit
26c15ebe46
|
@ -61,8 +61,8 @@ linters-settings:
|
|||
forbidigo:
|
||||
# Forbid the following identifiers (list of regexp).
|
||||
forbid:
|
||||
- '\brequire\.New\b'
|
||||
- '\bassert\.New\b'
|
||||
- '\brequire\.New\b(# Use package-level functions with explicit TestingT)?'
|
||||
- '\bassert\.New\b(# Use package-level functions with explicit TestingT)?'
|
||||
# Exclude godoc examples from forbidigo checks.
|
||||
# Default: true
|
||||
exclude_godoc_examples: false
|
||||
|
|
Loading…
Reference in New Issue