File tree 1 file changed +28
-2
lines changed
1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change @@ -1528,19 +1528,45 @@ linters-settings:
1528
1528
skip-regexp : (export|internal)_test\.go
1529
1529
1530
1530
thelper :
1531
- # The following configurations enable all checks.
1532
- # All checks are enabled by default.
1533
1531
test :
1532
+ # Check *testing.T is first param (or after context.Context) of helper function.
1533
+ # Default: true
1534
1534
first : false
1535
+ # Check *testing.T param has name t.
1536
+ # Default: true
1535
1537
name : false
1538
+ # Check t.Helper() begins helper function.
1539
+ # Default: true
1536
1540
begin : false
1537
1541
benchmark :
1542
+ # Check *testing.B is first param (or after context.Context) of helper function.
1543
+ # Default: true
1538
1544
first : false
1545
+ # Check *testing.B param has name b.
1546
+ # Default: true
1539
1547
name : false
1548
+ # Check b.Helper() begins helper function.
1549
+ # Default: true
1540
1550
begin : false
1541
1551
tb :
1552
+ # Check *testing.TB is first param (or after context.Context) of helper function.
1553
+ # Default: true
1542
1554
first : false
1555
+ # Check *testing.TB param has name tb.
1556
+ # Default: true
1543
1557
name : false
1558
+ # Check tb.Helper() begins helper function.
1559
+ # Default: true
1560
+ begin : false
1561
+ fuzz :
1562
+ # Check *testing.F is first param (or after context.Context) of helper function.
1563
+ # Default: true
1564
+ first : false
1565
+ # Check *testing.F param has name f.
1566
+ # Default: true
1567
+ name : false
1568
+ # Check f.Helper() begins helper function.
1569
+ # Default: true
1544
1570
begin : false
1545
1571
1546
1572
unparam :
You can’t perform that action at this time.
0 commit comments