code: function loadObject(configContext, { config: configObject, filePath, configFullName }) {
      const config = Object.assign({}, configObject);
  
      // ensure plugins are properly loaded first
      if (config.plugins) {
          try {
              configContext.plugins.loadAll(config.plugins);
          } catch (pluginLoadErr) {
              if (pluginLoadErr.messageTemplate === "plugin-missing") {
                  pluginLoadErr.messageData.configStack.push(filePath);
              }
              throw pluginLoadErr;
          }
      }
  
      // include full path of parser if present
      if (config.parser) {
          try {
              config.parser = relativeModuleResolver(config.parser, filePath);
          } catch (err) {
              if (err.code === "MODULE_NOT_FOUND" && config.parser === "espree") {
                  config.parser = require.resolve("espree");
              } else {
                  err.message += `\nFailed to resolve parser '${config.parser}' declared in '${filePath}'.`;
                  throw err;
              }
          }
      }
  
      const ruleMap = configContext.ruleMap;
  
      // validate the configuration before continuing
      validator.validate(config, ruleMap.get.bind(ruleMap), configContext.linterContext.environments, configFullName);
  
      /*
       * If an `extends` property is defined, it represents a configuration file to use as
       * a "parent". Load the referenced file and merge the configuration recursively.
       */
      if (config.extends) {
          return applyExtends(config, configContext, filePath);
      }
  
      return config;
  }
docs: Loads a config object, applying extends/parser/plugins if present.
  @param {Config} configContext Context for the config instance
  @param {Object} options.config a config object to load
  @param {string} options.filePath The path where `extends` and parsers should be resolved from (usually the path where the config was located from)
  @param {string} options.configFullName The full name of the config, for use in error messages
  @returns {Object} the config object with extends applied if present, or the passed config if not
  @private