old_contents: 'use strict';
  
  const _ = require('lodash/fp');
  const reqAll = require('req-all');
  
  const rules = reqAll('rules', {camelize: false});
  
  module.exports = {
    rules,
    configs: {
      recommended: {
        env: {
          es6: true
        },
        parserOptions: {
          ecmaVersion: 7,
          sourceType: 'module'
        },
        rules: _.flow(
          _.mapValues('meta.docs.recommended'),
          _.mapKeys(key => 'lodash-fp/' + key)
        )(rules)
      }
    }
  };
  
new_contents: 'use strict';
  
  const reqAll = require('req-all');
  
  const rules = reqAll('rules', {camelize: false});
  
  const recommendedRules = Object.keys(rules)
    .map(key => [[`lodash-fp/${key}`], rules[key].meta.docs.recommended])
    .reduce((res, item) => {
      res[item[0]] = item[1];
      return res;
    }, {});
  
  module.exports = {
    rules,
    configs: {
      recommended: {
        env: {
          es6: true
        },
        parserOptions: {
          ecmaVersion: 7,
          sourceType: 'module'
        },
        rules: recommendedRules
      }
    }
  };
  
subject: Simplify recommended settings generation