tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 28 Nov 2022 16:27:23 +0100
changeset 49669 f064b03d061a
parent 35605 45a816361926
permissions -rw-r--r--
emitrevision: simplify the fallback to computed delta Not using the stored delta, or having a full snapshot on disk behave the same ways, so lets use the same code path for that, this is simpler, and it update will be simpler.

#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