tests/test-check-jshint.t
author Manuel Jacob <me@manueljacob.de>
Mon, 01 Jun 2020 15:22:31 +0200
changeset 44961 24d440e2fdbb
parent 35605 45a816361926
permissions -rw-r--r--
sslutil: fix comment to use inclusive or instead of exclusive or The incorrect "either" was introduced by one of my recent patches.

#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