diff --git a/config.go b/config.go index 95543b8..6e9806c 100644 --- a/config.go +++ b/config.go @@ -84,6 +84,7 @@ var allRules = append([]lint.Rule{ &rule.CognitiveComplexityRule{}, &rule.StringOfIntRule{}, &rule.EarlyReturnRule{}, + &rule.IdenticalBranchesRule{}, }, defaultRules...) var allFormatters = []lint.Formatter{