code: function reportReference(reference) {
              const name = reference.identifier.name,
                  customMessage = restrictedGlobalMessages[name],
                  message = customMessage
                      ? CUSTOM_MESSAGE_TEMPLATE
                      : DEFAULT_MESSAGE_TEMPLATE;
  
              context.report({
                  node: reference.identifier,
                  message,
                  data: {
                      name,
                      customMessage
                  }
              });
          }
docs: Report a variable to be used as a restricted global.
  @param {Reference} reference the variable reference
  @returns {void}
  @private