1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-17 20:57:58 +02:00

adds identical-branches to configuration

This commit is contained in:
chavacava 2020-05-08 22:20:59 +02:00
parent 0c49c6a991
commit fb92af247c

View File

@ -84,6 +84,7 @@ var allRules = append([]lint.Rule{
&rule.CognitiveComplexityRule{},
&rule.StringOfIntRule{},
&rule.EarlyReturnRule{},
&rule.IdenticalBranchesRule{},
}, defaultRules...)
var allFormatters = []lint.Formatter{