tests/test-check-jshint.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 24 Mar 2018 18:03:23 +0900
changeset 38287 0fe65bb7e160
parent 35605 45a816361926
permissions -rw-r--r--
templatefilters: deprecate hgdate as {date|hgdate} is the default format

#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