1
0
mirror of https://github.com/mgechev/revive.git synced 2025-07-15 01:04:40 +02:00

Add all built-in rules

This commit is contained in:
mgechev
2018-01-25 11:34:38 -08:00
parent a3c28563b7
commit 3c3a6b538d
11 changed files with 560 additions and 0 deletions

View File

@ -47,6 +47,11 @@ var rules = []lint.Rule{
&rule.ErrorStringsRule{},
&rule.ReceiverNameRule{},
&rule.IncrementDecrementRule{},
&rule.ErrorReturnRule{},
&rule.UnexportedReturnRule{},
&rule.TimeNamesRule{},
&rule.ContextKeyTypeRule{},
&rule.ContextArgumentsRule{},
}
func TestAll(t *testing.T) {