Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoWithRule = rule.Rule{ Name: "no-with", Run: func(ctx rule.RuleContext, options any) rule.RuleListeners { return rule.RuleListeners{ ast.KindWithStatement: func(node *ast.Node) { ctx.ReportNode(node, rule.RuleMessage{ Id: "unexpectedWith", Description: "Unexpected use of 'with' statement.", }) }, } }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.