File tree 2 files changed +5
-8
lines changed
2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -1065,11 +1065,11 @@ linters-settings:
1065
1065
check-receiver : false
1066
1066
# Check named return values. (defaults to false)
1067
1067
check-return : false
1068
- # Ignore "ok" variables that hold the bool return value of a type assertion. (defaults to true )
1068
+ # Ignore "ok" variables that hold the bool return value of a type assertion. (defaults to false )
1069
1069
ignore-type-assert-ok : false
1070
- # Ignore "ok" variables that hold the bool return value of a map index. (defaults to true )
1070
+ # Ignore "ok" variables that hold the bool return value of a map index. (defaults to false )
1071
1071
ignore-map-index-ok : false
1072
- # Ignore "ok" variables that hold the bool return value of a channel receive. (defaults to true )
1072
+ # Ignore "ok" variables that hold the bool return value of a channel receive. (defaults to false )
1073
1073
ignore-chan-recv-ok : false
1074
1074
# Optional list of variable names that should be ignored completely. (defaults to empty list)
1075
1075
ignore-names :
Original file line number Diff line number Diff line change @@ -82,11 +82,8 @@ var defaultLintersSettings = LintersSettings{
82
82
Algo : "cha" ,
83
83
},
84
84
Varnamelen : VarnamelenSettings {
85
- MaxDistance : 5 ,
86
- MinNameLength : 3 ,
87
- IgnoreTypeAssertOk : true ,
88
- IgnoreMapIndexOk : true ,
89
- IgnoreChanRecvOk : true ,
85
+ MaxDistance : 5 ,
86
+ MinNameLength : 3 ,
90
87
},
91
88
WSL : WSLSettings {
92
89
StrictAppend : true ,
You can’t perform that action at this time.
0 commit comments