code: function resolve(extendedConfigReference, referencedFromPath, pluginRootPath) {
      if (extendedConfigReference.startsWith("eslint:")) {
          return {
              filePath: getEslintCoreConfigPath(extendedConfigReference),
              configFullName: extendedConfigReference
          };
      }
  
      if (extendedConfigReference.startsWith("plugin:")) {
          const configFullName = extendedConfigReference;
          const pluginName = extendedConfigReference.slice(7, extendedConfigReference.lastIndexOf("/"));
          const configName = extendedConfigReference.slice(extendedConfigReference.lastIndexOf("/") + 1);
  
          return {
              filePath: Plugins.resolve(pluginName, pluginRootPath),
              configName,
              configFullName
          };
      }
  
      if (isFilePath(extendedConfigReference)) {
          const resolvedConfigPath = path.resolve(path.dirname(referencedFromPath), extendedConfigReference);
  
          return {
              filePath: resolvedConfigPath,
              configFullName: resolvedConfigPath
          };
      }
  
      const normalizedConfigName = naming.normalizePackageName(extendedConfigReference, "eslint-config");
  
      return {
          filePath: relativeModuleResolver(normalizedConfigName, referencedFromPath),
          configFullName: extendedConfigReference
      };
  }
docs: Resolves a configuration file path into the fully-formed path, whether filename
  or package name.
  @param {string} extendedConfigReference The config to extend, as it appears in a config file
  @param {string} referencedFromPath The path to the config file that contains `extendedConfigReference`
  @param {string} pluginRootPath The absolute path to the directory where plugins should be resolved from
  @returns {Object} An object containing 3 properties:
  - 'filePath' (required) the resolved path that can be used directly to load the configuration.
  - 'configName' the name of the configuration inside the plugin, if this is a plugin config.
  - 'configFullName' (required) the name of the configuration as used in the eslint config(e.g. 'plugin:node/recommended'),
  or the absolute path to a config file. This should uniquely identify a config.
  @private