1
0
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:
mgechev
2018-01-25 11:06:56 -08:00
parent f35fad066d
commit f9a08cd60f
5 changed files with 225 additions and 0 deletions

View File

@ -43,6 +43,8 @@ var rules = []lint.Rule{
&rule.IfReturnRule{},
&rule.RangeRule{},
&rule.ErrorfRule{},
&rule.ErrorsRule{},
&rule.ErrorStringsRule{},
}
func TestAll(t *testing.T) {