function check(node) {
			if (
				node.callee.type !== "Identifier" ||
				node.callee.name !== "Object" ||
				node.arguments.length
			) {
				return;
			}

			const variable = getVariableByName(
				sourceCode.getScope(node),
				"Object",
			);

			if (variable && variable.identifiers.length === 0) {
				let replacement;
				let fixText;
				let messageId = "useLiteral";

				if (needsParentheses(node)) {
					replacement = "({})";
					if (needsPrecedingSemicolon(sourceCode, node)) {
						fixText = ";({})";
						messageId = "useLiteralAfterSemicolon";
					} else {
						fixText = "({})";
					}
				} else {
					replacement = fixText = "{}";
				}

				context.report({
					node,
					messageId: "preferLiteral",
					suggest: [
						{
							messageId,
							data: { replacement },
							fix: fixer => fixer.replaceText(node, fixText),
						},
					],
				});
			}
		}
Reports on nodes where the `Object` constructor is called without arguments.
@param {ASTNode} node The node to evaluate.
@returns {void}