tests/test-check-jshint.t
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 27 Dec 2019 13:47:17 -0500
changeset 43976 943e34522b37
parent 35605 45a816361926
permissions -rw-r--r--
perf: drop an unused variable assignment Caught by PyCharm. A different formatter is created below in `_displaystats()`. Differential Revision: https://phab.mercurial-scm.org/D7744

#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