lib/config/config-file.js
function getEslintCoreConfigPath(name) {
    if (name === "eslint:recommended") {

        /*
         * Add an explicit substitution for eslint:recommended to
         * conf/eslint-recommended.js.
         */
        return path.resolve(__dirname, "../../conf/eslint-recommended.js");
    }

    if (name === "eslint:all") {

        /*
         * Add an explicit substitution for eslint:all to conf/eslint-all.js
         */
        return path.resolve(__dirname, "../../conf/eslint-all.js");
    }

    throw configMissingError(name);
}
function getEslintCoreConfigPath(name) {
    if (name === "eslint:recommended") {

        /*
         * Add an explicit substitution for eslint:recommended to
         * conf/eslint-recommended.js.
         */
        return path.resolve(__dirname, "../../conf/eslint-recommended.js");
    }

    if (name === "eslint:all") {

        /*
         * Add an explicit substitution for eslint:all to conf/eslint-all.js
         */
        return path.resolve(__dirname, "../../conf/eslint-all.js");
    }

    throw configMissingError(name);
}
function getEslintCoreConfigPath ( name ) { if ( name === "eslint:recommended" ) { /*
         * Add an explicit substitution for eslint:recommended to
         * conf/eslint-recommended.js.
         */ return path . resolve ( __dirname , "../../conf/eslint-recommended.js" ) ; } if ( name === "eslint:all" ) { /*
         * Add an explicit substitution for eslint:all to conf/eslint-all.js
         */ return path . resolve ( __dirname , "../../conf/eslint-all.js" ) ; } throw configMissingError ( name ) ; }
Resolves a eslint core config path
@param {string} name The eslint config name.
@returns {string} The resolved path of the config.
@private
Resolves a eslint core config path