tests/test-check-jshint.t
author Matt Harbison <matt_harbison@yahoo.com>
Thu, 21 Nov 2019 15:31:33 -0500
changeset 43763 d18cf63e1dbd
parent 35605 45a816361926
permissions -rw-r--r--
phases: make `allphases` a list on py3 also Pytype complained that `range` doesn't support slicing, so make this a list like it was on py2. Differential Revision: https://phab.mercurial-scm.org/D7468

#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