function functionStyleRule(context) {
				return {
					Program(node) {
						context.report({ node, message: "bad" });
					},
				};
			}
Legacy-format rule (a function instead of an object with `create` method).
@param {RuleContext} context The ESLint rule context object.
@returns {Object} Listeners.