1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-29 22:28:23 +02:00

new rule: nested-structs (#530)

new rule: nested-structs
This commit is contained in:
Robert Deusser
2021-06-15 05:36:41 -04:00
committed by GitHub
parent 0ade5dc9f8
commit 575ce5f61a
6 changed files with 114 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ var allRules = append([]lint.Rule{
&rule.DeferRule{},
&rule.UnexportedNamingRule{},
&rule.FunctionLength{},
&rule.NestedStructs{},
}, defaultRules...)
var allFormatters = []lint.Formatter{