mirror of
https://github.com/mgechev/revive.git
synced 2025-01-26 03:52:12 +02:00
Add missing rule in config
This commit is contained in:
parent
1fa5046357
commit
1b84ff83dd
@ -48,6 +48,7 @@ var allRules = append([]lint.Rule{
|
|||||||
&rule.CyclomaticRule{},
|
&rule.CyclomaticRule{},
|
||||||
&rule.FileHeaderRule{},
|
&rule.FileHeaderRule{},
|
||||||
&rule.EmptyBlockRule{},
|
&rule.EmptyBlockRule{},
|
||||||
|
&rule.SuperfluousElseRule{},
|
||||||
}, defaultRules...)
|
}, defaultRules...)
|
||||||
|
|
||||||
var allFormatters = []lint.Formatter{
|
var allFormatters = []lint.Formatter{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user