parameters: (paths, rules_dir=DEFAULT_ESLINT_RULES_DIR, extra_args=None)
docstring: Runs eslint on a list of paths.
  
    Args:
      paths: A list of paths to run eslint on.
      rules_dir: A directory of custom eslint rules.
      extra_args: A string to append to the end of the eslint command.
docstring_summary: Runs eslint on a list of paths.
docstring_tokens: Runs eslint on a list of paths .
function: def RunEslint(paths, rules_dir=DEFAULT_ESLINT_RULES_DIR, extra_args=None):
    """Runs eslint on a list of paths.
  
    Args:
      paths: A list of paths to run eslint on.
      rules_dir: A directory of custom eslint rules.
      extra_args: A string to append to the end of the eslint command.
    """
    if type(paths) is not list or len(paths) == 0:
      raise ValueError('Must specify a non-empty list of paths to lint.')
  
    try:
      eslint_cmd = _CreateEslintCommand(rules_dir, extra_args)
      return True, subprocess.check_output(eslint_cmd + paths,
                                           stderr=subprocess.STDOUT).rstrip()
    except subprocess.CalledProcessError as e:
      return False, e.output.rstrip()
function_tokens: def RunEslint ( paths , rules_dir = DEFAULT_ESLINT_RULES_DIR , extra_args = None ) : if type ( paths ) is not list or len ( paths ) == 0 : raise ValueError ( 'Must specify a non-empty list of paths to lint.' ) try : eslint_cmd = _CreateEslintCommand ( rules_dir , extra_args ) return True , subprocess . check_output ( eslint_cmd + paths , stderr = subprocess . STDOUT ) . rstrip ( ) except subprocess . CalledProcessError as e : return False , e . output . rstrip ( )