tests/test-check-jshint.t
author Raphaël Gomès <rgomes@octobus.net>
Wed, 03 Mar 2021 12:37:13 +0100
changeset 46638 b4c2a2af25e2
parent 35605 45a816361926
permissions -rw-r--r--
requirements: also add a fncache constant Continue the cleanup to the remaining requirements Differential Revision: https://phab.mercurial-scm.org/D10109

#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