function createCoreRuleConfigs() {
    return Object.keys(builtInRules).reduce((accumulator, id) => {
        const rule = rules.get(id);
        const schema = (typeof rule === "function") ? rule.schema : rule.meta.schema;

        accumulator[id] = generateConfigsFromSchema(schema);
        return accumulator;
    }, {});
}
function createCoreRuleConfigs() {
    return Object.keys(builtInRules).reduce((accumulator, id) => {
        const rule = rules.get(id);
        const schema = (typeof rule === "function") ? rule.schema : rule.meta.schema;

        accumulator[id] = generateConfigsFromSchema(schema);
        return accumulator;
    }, {});
}
function createCoreRuleConfigs ( ) { return Object . keys ( builtInRules ) . reduce ( ( accumulator , id ) => { const rule = rules . get ( id ) ; const schema = ( typeof rule === "function" ) ? rule . schema : rule . meta . schema ; accumulator [ id ] = generateConfigsFromSchema ( schema ) ; return accumulator ; } , { } ) ; }
Generate possible rule configurations for all of the core rules
@returns {rulesConfig} Hash of rule names and arrays of possible configurations
Generate possible rule configurations for all of the core rules
Creates a config object for the core rule