ci: Add explanation in forbidigo (#12140)

pull/12142/head
Chris S. Kim 3 years ago committed by GitHub
parent baa45a6987
commit 6cecd35e6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -61,8 +61,8 @@ linters-settings:
forbidigo: forbidigo:
# Forbid the following identifiers (list of regexp). # Forbid the following identifiers (list of regexp).
forbid: forbid:
- '\brequire\.New\b' - '\brequire\.New\b(# Use package-level functions with explicit TestingT)?'
- '\bassert\.New\b' - '\bassert\.New\b(# Use package-level functions with explicit TestingT)?'
# Exclude godoc examples from forbidigo checks. # Exclude godoc examples from forbidigo checks.
# Default: true # Default: true
exclude_godoc_examples: false exclude_godoc_examples: false

Loading…
Cancel
Save