mirror of
https://github.com/mgechev/revive.git
synced 2025-07-13 01:00:17 +02:00
Add error rules
This commit is contained in:
@ -43,6 +43,8 @@ var rules = []lint.Rule{
|
||||
&rule.IfReturnRule{},
|
||||
&rule.RangeRule{},
|
||||
&rule.ErrorfRule{},
|
||||
&rule.ErrorsRule{},
|
||||
&rule.ErrorStringsRule{},
|
||||
}
|
||||
|
||||
func TestAll(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user