tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 23 May 2023 10:24:57 +0200
changeset 50709 517fcefe8a39
parent 35605 45a816361926
permissions -rw-r--r--
stream-clone: add a stream-v3 variant of test-persistent-nodemap.t This will be useful to track and validate future changes to the stream-v3 protocol.

#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