code: function readConfigFile() {
  
    // First try to find the .cz-config.js config file
    var czConfig = findConfig.require(CZ_CONFIG_NAME, {home: false});
    if (czConfig) {
      return czConfig;
    }
  
    // fallback to locating it using the config block in the nearest package.json
    var pkg = findConfig('package.json', {home: false});
    if (pkg) {
      var pkgDir = path.dirname(pkg);
      pkg = require(pkg);
  
      if (pkg.config && pkg.config['cz-customizable'] && pkg.config['cz-customizable'].config) {
        // resolve relative to discovered package.json
        var pkgPath = path.resolve(pkgDir, pkg.config['cz-customizable'].config);
  
        console.info('>>> Using cz-customizable config specified in your package.json: ', pkgPath);
  
        return require(pkgPath);
      }
    }
  
    log.warn('Unable to find a configuration file. Please refer to documentation to learn how to ser up: https://github.com/leonardoanalista/cz-customizable#steps "');
  }
docs: /* istanbul ignore next