tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 27 Feb 2020 16:32:43 +0100
changeset 44515 6c906eaedd0d
parent 35605 45a816361926
permissions -rw-r--r--
nodemap: track the tip_node for validation Differential Revision: https://phab.mercurial-scm.org/D8184

#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