src/resolveTaskFn.js
function execLinter(bin, args, execaOptions, pathsToLint) {
  const binArgs = args.concat(pathsToLint)

  debug('bin:', bin)
  debug('args: %O', binArgs)
  debug('opts: %o', execaOptions)

  return execa(bin, binArgs, { ...execaOptions })
}
function execLinter(bin, args, execaOptions, pathsToLint) {
  const binArgs = args.concat(pathsToLint)

  debug('bin:', bin)
  debug('args: %O', binArgs)
  debug('opts: %o', execaOptions)

  return execa(bin, binArgs, { ...execaOptions })
}
function execLinter ( bin , args , execaOptions , pathsToLint ) { const binArgs = args . concat ( pathsToLint ) debug ( 'bin:' , bin ) debug ( 'args: %O' , binArgs ) debug ( 'opts: %o' , execaOptions ) return execa ( bin , binArgs , { ... execaOptions } ) }
Execute the given linter binary with arguments and file paths using execa and
return the promise.

@param {string} bin
@param {Array<string>} args
@param {Object} execaOptions
@param {Array<string>} pathsToLint
@return {Promise} child_process
Execute the given linter binary with arguments and file paths using execa and return the promise .