tests/test-check-jshint.t
author Boris Feld <boris.feld@octobus.net>
Wed, 21 Feb 2018 17:16:56 +0100
changeset 36951 c92d1d3c58ee
parent 35605 45a816361926
permissions -rw-r--r--
debugbundle: do not display detailed part data in --quiet mode This changeset makes `hg debugbundle` respect --quiet and only display data about part headers.

#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