diff --git a/handlers/ssh_config/analyzer/dependents.go b/handlers/ssh_config/analyzer/dependents.go index f9e3e9a..bb8d9ea 100644 --- a/handlers/ssh_config/analyzer/dependents.go +++ b/handlers/ssh_config/analyzer/dependents.go @@ -52,4 +52,3 @@ func checkIsDependent( return errs } - diff --git a/handlers/ssh_config/analyzer/options_test.go b/handlers/ssh_config/analyzer/options_test.go index 63191bc..c74c15e 100644 --- a/handlers/ssh_config/analyzer/options_test.go +++ b/handlers/ssh_config/analyzer/options_test.go @@ -50,5 +50,3 @@ User root t.Fatalf("Expected 1 error, got %v", errors) } } - - diff --git a/handlers/ssh_config/analyzer/quotes.go b/handlers/ssh_config/analyzer/quotes.go index a07b3b3..68a5747 100644 --- a/handlers/ssh_config/analyzer/quotes.go +++ b/handlers/ssh_config/analyzer/quotes.go @@ -27,7 +27,7 @@ func analyzeQuotesAreValid( func checkIsUsingDoubleQuotes( value commonparser.ParsedString, valueRange common.LocationRange, - ) []common.LSPError { +) []common.LSPError { singleQuotePosition := strings.Index(value.Raw, "'") if singleQuotePosition != -1 { diff --git a/handlers/ssh_config/ast/listener.go b/handlers/ssh_config/ast/listener.go index 0043422..3d6719f 100644 --- a/handlers/ssh_config/ast/listener.go +++ b/handlers/ssh_config/ast/listener.go @@ -176,9 +176,9 @@ func (s *sshParserListener) ExitEntry(ctx *parser.EntryContext) { hostBlock := &SSHHostBlock{ LocationRange: location, - HostOption: s.sshContext.currentOption, - HostValue: host, - Options: treemap.NewWith(gods.UInt32Comparator), + HostOption: s.sshContext.currentOption, + HostValue: host, + Options: treemap.NewWith(gods.UInt32Comparator), } s.Config.Options.Put( diff --git a/handlers/ssh_config/document_fields.go b/handlers/ssh_config/document_fields.go index 8f28204..f273a6f 100644 --- a/handlers/ssh_config/document_fields.go +++ b/handlers/ssh_config/document_fields.go @@ -35,4 +35,3 @@ func (d SSHDocument) DoesOptionExist( ) bool { return d.FindOptionByNameAndBlock(name, block) != nil } - diff --git a/handlers/ssh_config/fields/match.go b/handlers/ssh_config/fields/match.go index 071562a..95f5f5f 100644 --- a/handlers/ssh_config/fields/match.go +++ b/handlers/ssh_config/fields/match.go @@ -1,3 +1 @@ package fields - - diff --git a/handlers/ssh_config/fields/options.go b/handlers/ssh_config/fields/options.go index b52e15c..48043cc 100644 --- a/handlers/ssh_config/fields/options.go +++ b/handlers/ssh_config/fields/options.go @@ -2,15 +2,15 @@ package fields var AllowedDuplicateOptions = map[string]struct{}{ "CertificateFile": {}, - "Match": {}, - "Host": {}, + "Match": {}, + "Host": {}, } -// A list of +// A list of //