We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0ba492 commit a14a292Copy full SHA for a14a292
main.go
@@ -64,6 +64,10 @@ func (v *visitor) Visit(node ast.Node) ast.Visitor {
64
checkMultiLine(v, stmt.Body, stmt.Cond)
65
}
66
67
+ if stmt, ok := node.(*ast.FuncLit); ok && v.settings.MultiFunc {
68
+ checkMultiLine(v, stmt.Body, stmt.Type)
69
+ }
70
+
71
if stmt, ok := node.(*ast.FuncDecl); ok && v.settings.MultiFunc {
72
checkMultiLine(v, stmt.Body, stmt.Type)
73
0 commit comments