index.js
function (glob, opts) {
    if (opts.ignore) {
      this.map('exclude', opts.ignore, opts);
    }
    if (opts.exclude) {
      this.map('exclude', opts.exclude, opts);
    }
    if (opts.include) {
      this.map('include', opts.include, opts);
    }

    // if not disabled by the user, run the built-ins
    if (!this.disabled('builtins')) {
      if (!this.disabled('npm')) {
        this.use(npm(opts));
      }
      if (!this.disabled('dotfiles')) {
        this.use(dotfiles()(opts));
      }
      if (!this.disabled('gitignore')) {
        this.use(gitignore()(opts));
      }
    }
  }
function (glob, opts) {
    if (opts.ignore) {
      this.map('exclude', opts.ignore, opts);
    }
    if (opts.exclude) {
      this.map('exclude', opts.exclude, opts);
    }
    if (opts.include) {
      this.map('include', opts.include, opts);
    }

    // if not disabled by the user, run the built-ins
    if (!this.disabled('builtins')) {
      if (!this.disabled('npm')) {
        this.use(npm(opts));
      }
      if (!this.disabled('dotfiles')) {
        this.use(dotfiles()(opts));
      }
      if (!this.disabled('gitignore')) {
        this.use(gitignore()(opts));
      }
    }
  }
function ( glob , opts ) { if ( opts . ignore ) { this . map ( 'exclude' , opts . ignore , opts ) ; } if ( opts . exclude ) { this . map ( 'exclude' , opts . exclude , opts ) ; } if ( opts . include ) { this . map ( 'include' , opts . include , opts ) ; } // if not disabled by the user, run the built-ins if ( ! this . disabled ( 'builtins' ) ) { if ( ! this . disabled ( 'npm' ) ) { this . use ( npm ( opts ) ) ; } if ( ! this . disabled ( 'dotfiles' ) ) { this . use ( dotfiles ( ) ( opts ) ) ; } if ( ! this . disabled ( 'gitignore' ) ) { this . use ( gitignore ( ) ( opts ) ) ; } } }
Set configuration defaults.
Set configuration defaults .