tests/test-check-jshint.t
author Martin von Zweigbergk <martinvonz@google.com>
Tue, 04 Dec 2018 08:55:48 -0800
branchstable
changeset 40814 9b1d5eea07f9
parent 35605 45a816361926
permissions -rw-r--r--
tests: add a missing "cd .." to test-rebase-inmemory.t Differential Revision: https://phab.mercurial-scm.org/D5367

#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