index.js
function transformer(tree, file) {
    search(tree, phrases, searcher)

    function searcher(match, index, parent, phrase) {
      var type = weasel
      var message

      if (weasels.indexOf(phrase) === -1) {
        type = fillers.indexOf(phrase) === -1 ? hedge : filler
      }

      message = file.warn(
        'Don’t use ' + quote(toString(match), '“', '”') + ', ' + messages[type],
        {
          start: position.start(match[0]),
          end: position.end(match[match.length - 1])
        }
      )

      message.ruleId = type
      message.source = 'retext-intensify'
    }
  }
function transformer(tree, file) {
    search(tree, phrases, searcher)

    function searcher(match, index, parent, phrase) {
      var type = weasel
      var message

      if (weasels.indexOf(phrase) === -1) {
        type = fillers.indexOf(phrase) === -1 ? hedge : filler
      }

      message = file.warn(
        'Don’t use ' + quote(toString(match), '“', '”') + ', ' + messages[type],
        {
          start: position.start(match[0]),
          end: position.end(match[match.length - 1])
        }
      )

      message.ruleId = type
      message.source = 'retext-intensify'
    }
  }
function transformer ( tree , file ) { search ( tree , phrases , searcher ) function searcher ( match , index , parent , phrase ) { var type = weasel var message if ( weasels . indexOf ( phrase ) === - 1 ) { type = fillers . indexOf ( phrase ) === - 1 ? hedge : filler } message = file . warn ( 'Don’t use ' + q ote(t o String(m a tch), ' ', '” '  + ',  mes a es[type] , { start : position . start ( match [ 0 ] ) , end : position . end ( match [ match . length - 1 ] ) } ) message . ruleId = type message . source = 'retext-intensify' } }
Search `tree` for validations.
Search tree for validations .