tests/test-check-jshint.t
author Augie Fackler <augie@google.com>
Mon, 04 Dec 2017 11:28:29 -0500
changeset 35220 15d38e8fcb1e
parent 35066 5d4369079c86
child 35605 45a816361926
permissions -rw-r--r--
merge with stable

#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' \
  > -X mercurial/templates/static/excanvas.js \
  > 2>/dev/null \
  > | xargs jshint