tests/test-check-jshint.t
author Pulkit Goyal <7895pulkit@gmail.com>
Thu, 12 Apr 2018 17:22:59 +0530
changeset 37586 b94fecf4cd8c
parent 35605 45a816361926
permissions -rw-r--r--
py3: use bytes() instead of str() on util.url() We internally deal with bytes and anything as string breaks things. Differential Revision: https://phab.mercurial-scm.org/D3285

#require test-repo jshint hg10

  $ . "$TESTDIR/helpers-testrepo.sh"

run jshint on all tracked files ending in .js except vendored dependencies

  $ cd "`dirname "$TESTDIR"`"

  $ testrepohg locate 'set:**.js' \
  > 2>/dev/null \
  > | xargs jshint