tests/test-check-jshint.t
author Raphaël Gomès <rgomes@octobus.net>
Wed, 03 Nov 2021 12:35:57 +0100
changeset 48298 6ffcaba7d122
parent 35605 45a816361926
permissions -rw-r--r--
compat: don't rely on cpython-specific builtins manipulation Pierre Augier signaled on the mailing list that this fails on Pypy and pointed out the correct solution. Differential Revision: https://phab.mercurial-scm.org/D11732

#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