1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-10 03:17:11 +02:00

Add missing rule in config

This commit is contained in:
mgechev 2018-06-08 14:22:21 -07:00
parent 1fa5046357
commit 1b84ff83dd
No known key found for this signature in database
GPG Key ID: 3C44F5A2A289C6BB

View File

@ -48,6 +48,7 @@ var allRules = append([]lint.Rule{
&rule.CyclomaticRule{},
&rule.FileHeaderRule{},
&rule.EmptyBlockRule{},
&rule.SuperfluousElseRule{},
}, defaultRules...)
var allFormatters = []lint.Formatter{