function main( context ) {
	/**
	* Reports the error message.
	*
	* @private
	* @param {ASTNode} node - node to report
	*/
	function report( node ) {
		context.report({
			'node': node,
			'message': 'Using the `new Array()` constructor is not allowed; use an array literal with push instead.'
		});
	}

	/**
	* Checks whether a node is a `new Array()` expression.
	*
	* @private
	* @param {ASTNode} node - node to examine
	*/
	function validate( node ) {
		if (
			node.callee &&
			node.callee.name === 'Array'
		) {
			report( node );
		}
	}

	return {
		'NewExpression': validate
	};
}
Rule for disallowing the use of the `new Array()` constructor.

@param {Object} context - ESLint context
@returns {Object} validators