src/language-js/utils.js/isLiteralLikeValue
function isLiteralLikeValue(node) {
  return (
    isLiteral(node) ||
    (node.type === "Identifier" && /^[A-Z_]+$/.test(node.name)) ||
    (node.type === "ArrayExpression" &&
      node.elements.every(
        (element) => element !== null && isLiteralLikeValue(element)
      )) ||
    (node.type === "ObjectExpression" &&
      node.properties.every(
        (property) =>
          !property.computed &&
          property.value &&
          isLiteralLikeValue(property.value)
      ))
  );
}