@@ -255,12 +255,11 @@ type GocognitSettings struct {
255255}
256256
257257type WSLSettings struct {
258- StrictAppend bool `mapstructure:"strict-append"`
259- AllowAssignAndCallCuddle bool `mapstructure:"allow-assign-and-call"`
260- AllowMultiLineAssignCuddle bool `mapstructure:"allow-multiline-assign"`
261- AllowCuddleDeclaration bool `mapstructure:"allow-cuddle-declarations"`
262- AllowTrailingComment bool `mapstructure:"allow-trailing-comment"`
263- CaseForceTrailingWhitespaceLimit int `mapstructure:"force-case-trailing-whitespace:"`
258+ StrictAppend bool `mapstructure:"strict-append"`
259+ AllowAssignAndCallCuddle bool `mapstructure:"allow-assign-and-call"`
260+ AllowMultiLineAssignCuddle bool `mapstructure:"allow-multiline-assign"`
261+ AllowCaseTrailingWhitespace bool `mapstructure:"allow-case-trailing-whitespace"`
262+ AllowCuddleDeclaration bool `mapstructure:"allow-cuddle-declarations"`
264263}
265264
266265var defaultLintersSettings = LintersSettings {
@@ -292,12 +291,11 @@ var defaultLintersSettings = LintersSettings{
292291 MinComplexity : 30 ,
293292 },
294293 WSL : WSLSettings {
295- StrictAppend : true ,
296- AllowAssignAndCallCuddle : true ,
297- AllowMultiLineAssignCuddle : true ,
298- AllowCuddleDeclaration : false ,
299- AllowTrailingComment : false ,
300- CaseForceTrailingWhitespaceLimit : 0 ,
294+ StrictAppend : true ,
295+ AllowAssignAndCallCuddle : true ,
296+ AllowMultiLineAssignCuddle : true ,
297+ AllowCaseTrailingWhitespace : true ,
298+ AllowCuddleDeclaration : false ,
301299 },
302300}
303301
0 commit comments