function report(node) {
			if (reported.has(node.range[0])) {
				return;
			}
			reported.add(node.range[0]);

			// Report it.
			context.report({
				node,
				messageId:
					node.type === "PrivateIdentifier"
						? "notCamelCasePrivate"
						: "notCamelCase",
				data: { name: node.name },
			});
		}
Reports an AST node as a rule violation.
@param {ASTNode} node The node to report.
@returns {void}
@private