From 677def24c6b9d2ffb85416bc907b1bdbf5e678f1 Mon Sep 17 00:00:00 2001 From: Simon Sawert Date: Sun, 13 Oct 2019 17:42:35 +0200 Subject: [PATCH] Fix faulty field tag for config Co-Authored-By: Isaev Denis --- pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 5b2aace77c95..1b8de67585fb 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -259,7 +259,7 @@ type WSLSettings struct { AllowAssignAndCallCuddle bool `mapstructure:"allow-assign-and-call"` AllowMultiLineAssignCuddle bool `mapstructure:"allow-multiline-assign"` AllowCaseTrailingWhitespace bool `mapstructure:"allow-case-trailing-whitespace"` - AllowCuddleDeclaration bool `mapstructure:"allow-declarations"` + AllowCuddleDeclaration bool `mapstructure:"allow-cuddle-declarations"` } var defaultLintersSettings = LintersSettings{