tests/test-check-jshint.t
author Rodrigo Damazio <rdamazio@google.com>
Sun, 06 Oct 2019 03:30:00 -0400
changeset 43181 5ff32fdf0b0b
parent 35605 45a816361926
permissions -rw-r--r--
help: adding a help category to narrow and remotefilelog commands Differential Revision: https://phab.mercurial-scm.org/D6998

#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