function rule( context ) {
	var source = context.getSourceCode();

	return {
		'FunctionExpression:exit': log,
		'FunctionDeclaration:exit': log,
		'VariableDeclaration:exit': log,
		'ExpressionStatement:exit': log
	};

	/**
	* Logs JSDoc comments.
	*
	* @private
	* @param {ASTNode} node - node to examine
	*/
	function log( node ) {
		var jsdoc = findJSDoc( source, node );
		if ( jsdoc ) {
			console.log( jsdoc );
		}
	}
}
ESLint rule.

@private
@param {Object} context - ESLint context
@returns {Object} visitors