ci: Add explanation in forbidigo (#12140)

This commit is contained in:
Chris S. Kim 2022-01-20 13:07:10 -05:00 committed by GitHub
parent baa45a6987
commit 6cecd35e6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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