From 1b84ff83dd3d93d5ef09344430533c94beb6cdab Mon Sep 17 00:00:00 2001 From: mgechev Date: Fri, 8 Jun 2018 14:22:21 -0700 Subject: [PATCH] Add missing rule in config --- config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config.go b/config.go index 351a55a..31a0cdc 100644 --- a/config.go +++ b/config.go @@ -48,6 +48,7 @@ var allRules = append([]lint.Rule{ &rule.CyclomaticRule{}, &rule.FileHeaderRule{}, &rule.EmptyBlockRule{}, + &rule.SuperfluousElseRule{}, }, defaultRules...) var allFormatters = []lint.Formatter{