code: function load(filePath, configContext, relativeTo) {
      const resolvedPath = resolve(filePath, relativeTo);
      const cachedConfig = configContext.configCache.getConfig(resolvedPath.configFullName);
  
      if (cachedConfig) {
          return cachedConfig;
      }
  
      const config = loadFromDisk(resolvedPath, configContext);
  
      if (config) {
          config.filePath = resolvedPath.filePath;
          config.baseDirectory = path.dirname(resolvedPath.filePath);
          configContext.configCache.setConfig(resolvedPath.configFullName, config);
      }
  
      return config;
  }
docs: Loads a config object from the config cache based on its filename, falling back to the disk if the file is not yet
  cached.
  @param {string} filePath the path to the config file
  @param {Config} configContext Context for the config instance
  @param {string} [relativeTo] The path to resolve relative to.
  @returns {Object} the parsed config object (empty object if there was a parse error)
  @private