docs(thelper): add fuzz
config and description (#2887)
docs(thelper): add missing `fuzz` config and description
This commit is contained in:
parent
dfb01c8aaf
commit
d704754acf
@ -1503,19 +1503,45 @@ linters-settings:
|
|||||||
skip-regexp: (export|internal)_test\.go
|
skip-regexp: (export|internal)_test\.go
|
||||||
|
|
||||||
thelper:
|
thelper:
|
||||||
# The following configurations enable all checks.
|
|
||||||
# All checks are enabled by default.
|
|
||||||
test:
|
test:
|
||||||
|
# Check *testing.T is first param (or after context.Context) of helper function.
|
||||||
|
# Default: true
|
||||||
first: false
|
first: false
|
||||||
|
# Check *testing.T param has name t.
|
||||||
|
# Default: true
|
||||||
name: false
|
name: false
|
||||||
|
# Check t.Helper() begins helper function.
|
||||||
|
# Default: true
|
||||||
begin: false
|
begin: false
|
||||||
benchmark:
|
benchmark:
|
||||||
|
# Check *testing.B is first param (or after context.Context) of helper function.
|
||||||
|
# Default: true
|
||||||
first: false
|
first: false
|
||||||
|
# Check *testing.B param has name b.
|
||||||
|
# Default: true
|
||||||
name: false
|
name: false
|
||||||
|
# Check b.Helper() begins helper function.
|
||||||
|
# Default: true
|
||||||
begin: false
|
begin: false
|
||||||
tb:
|
tb:
|
||||||
|
# Check *testing.TB is first param (or after context.Context) of helper function.
|
||||||
|
# Default: true
|
||||||
first: false
|
first: false
|
||||||
|
# Check *testing.TB param has name tb.
|
||||||
|
# Default: true
|
||||||
name: false
|
name: false
|
||||||
|
# Check tb.Helper() begins helper function.
|
||||||
|
# Default: true
|
||||||
|
begin: false
|
||||||
|
fuzz:
|
||||||
|
# Check *testing.F is first param (or after context.Context) of helper function.
|
||||||
|
# Default: true
|
||||||
|
first: false
|
||||||
|
# Check *testing.F param has name f.
|
||||||
|
# Default: true
|
||||||
|
name: false
|
||||||
|
# Check f.Helper() begins helper function.
|
||||||
|
# Default: true
|
||||||
begin: false
|
begin: false
|
||||||
|
|
||||||
unparam:
|
unparam:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user