tests/test-check-jshint.t
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 25 Jan 2019 23:43:11 -0800
changeset 41420 2ff8994ac71d
parent 35605 45a816361926
permissions -rw-r--r--
cleanup: use repo['.'] instead of repo[None].p1() Differential Revision: https://phab.mercurial-scm.org/D5707

#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