tests/test-check-jshint.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 08 Jul 2021 01:24:11 +0200
changeset 47649 4b17971f0181
parent 35605 45a816361926
permissions -rw-r--r--
largefile: use parentchange during mergerecordupdates This match what core is doing around recordupdates. Differential Revision: https://phab.mercurial-scm.org/D11105

#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