tests/test-check-jshint.t
author Anton Shestakov <av6@dwimlabs.net>
Sun, 15 Apr 2018 18:27:49 +0800
changeset 37704 3335658516be
parent 35605 45a816361926
permissions -rw-r--r--
tests: hg log shouldn't need --hidden to show whyunstable template keyword

#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