tests/test-check-jshint.t
author Boris Feld <boris.feld@octobus.net>
Mon, 12 Nov 2018 01:15:37 +0100
changeset 40924 27fa1d2bf484
parent 35605 45a816361926
permissions -rw-r--r--
test: enable sparse-revlog for test-revlog-v2.t We are about to enable sparse-revlog globally. To help with reviewing the tests change, we isolate them in individual changesets. Differential Revision: https://phab.mercurial-scm.org/D5333

#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