mirror of
https://github.com/mgechev/revive.git
synced 2025-11-23 22:04:49 +02:00
feature: new rule identical-ifelseif-conditions (#1454)
This commit is contained in:
@@ -107,6 +107,7 @@ var allRules = append([]lint.Rule{
|
||||
&rule.EnforceSwitchStyleRule{},
|
||||
&rule.IdenticalSwitchConditionsRule{},
|
||||
&rule.EnforceElseRule{},
|
||||
&rule.IdenticalIfElseIfConditionsRule{},
|
||||
}, defaultRules...)
|
||||
|
||||
// allFormatters is a list of all available formatters to output the linting results.
|
||||
|
||||
Reference in New Issue
Block a user