tests/test-check-jshint.t
author Augie Fackler <augie@google.com>
Sat, 05 Oct 2019 09:55:56 -0400
changeset 43049 6e8582ccf76d
parent 35605 45a816361926
permissions -rw-r--r--
discovery: re-wrap expression to avoid a black bug Differential Revision: https://phab.mercurial-scm.org/D6969

#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