File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -1065,11 +1065,11 @@ linters-settings:
10651065 check-receiver : false
10661066 # Check named return values. (defaults to false)
10671067 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 )
10691069 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 )
10711071 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 )
10731073 ignore-chan-recv-ok : false
10741074 # Optional list of variable names that should be ignored completely. (defaults to empty list)
10751075 ignore-names :
Original file line number Diff line number Diff line change @@ -82,11 +82,8 @@ var defaultLintersSettings = LintersSettings{
8282 Algo : "cha" ,
8383 },
8484 Varnamelen : VarnamelenSettings {
85- MaxDistance : 5 ,
86- MinNameLength : 3 ,
87- IgnoreTypeAssertOk : true ,
88- IgnoreMapIndexOk : true ,
89- IgnoreChanRecvOk : true ,
85+ MaxDistance : 5 ,
86+ MinNameLength : 3 ,
9087 },
9188 WSL : WSLSettings {
9289 StrictAppend : true ,
You can’t perform that action at this time.
0 commit comments