File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -3689,13 +3689,13 @@ linters:
3689
3689
3690
3690
# Enable/disable `context.Background()` detections.
3691
3691
# Disabled if Go < 1.24.
3692
- # Default: true
3693
- context-background : false
3692
+ # Default: false
3693
+ context-background : true
3694
3694
3695
3695
# Enable/disable `context.TODO()` detections.
3696
3696
# Disabled if Go < 1.24.
3697
- # Default: true
3698
- context-todo : false
3697
+ # Default: false
3698
+ context-todo : true
3699
3699
3700
3700
unconvert :
3701
3701
# Remove conversions that force intermediate rounding.
Original file line number Diff line number Diff line change 3775
3775
"properties" : {
3776
3776
"context-background" : {
3777
3777
"type" : " boolean" ,
3778
- "default" : true
3778
+ "default" : false
3779
3779
},
3780
3780
"context-todo" : {
3781
3781
"type" : " boolean" ,
3782
- "default" : true
3782
+ "default" : false
3783
3783
},
3784
3784
"os-chdir" : {
3785
3785
"type" : " boolean" ,
Original file line number Diff line number Diff line change @@ -172,8 +172,8 @@ var defaultLintersSettings = LintersSettings{
172
172
HTTPStatusCode : true ,
173
173
},
174
174
UseTesting : UseTestingSettings {
175
- ContextBackground : true ,
176
- ContextTodo : true ,
175
+ ContextBackground : false ,
176
+ ContextTodo : false ,
177
177
OSChdir : true ,
178
178
OSMkdirTemp : true ,
179
179
OSSetenv : true ,
You can’t perform that action at this time.
0 commit comments